Skip to main content

logical_or

Function logical_or 

Source
pub fn logical_or(
    a: impl IntoExpr<PrimExpr>,
    b: impl IntoExpr<PrimExpr>,
) -> Result<PrimExpr>
Expand description

Build the boolean a || b; a constant side folds.

ยงErrors

Returns an InternalError if an operand is not a boolean.