Skip to main content

logical_and

Function logical_and 

Source
pub fn logical_and(
    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.