Boolean predicates
Reference documentation for Expressif predicates in the boolean scope.
| Name | Overview |
|---|---|
and | Returns the logical conjunction of the Boolean-converted input and a secondary predicate expression. Null-like and unconvertible values convert to false; zero converts to false; nonzero numbers and recognized true text convert to true. Evaluates the secondary expression only when the converted input is true. |
is-false | Returns true if the argument is effectively false else return false. |
is-false-or-null | Returns true if the argument is effectively false or null else return false. |
is-identical-to | Returns true if the boolean passed as argument has the same value than the boolean passed as parameter. Returns false otherwise. |
is-true | Returns true if the argument is effectively true else return false. |
is-true-or-null | Returns true if the argument is effectively true or null else return false. |
not | Returns the logical negation of the Boolean-converted input. Null-like and unconvertible values convert to false; zero converts to false; nonzero numbers and recognized true text convert to true. |
or | Returns the logical disjunction of the Boolean-converted input and a secondary predicate expression. Null-like and unconvertible values convert to false; zero converts to false; nonzero numbers and recognized true text convert to true. Evaluates the secondary expression only when the converted input is false. |
xor | Returns true when exactly one of the Boolean-converted input and a secondary predicate expression evaluates to true. Null-like and unconvertible values convert to false; zero converts to false; nonzero numbers and recognized true text convert to true. Always evaluates the secondary expression. |