Skip to main content
Logical functions define logical relationships between values.

AND

Takes a variable number of arguments and returns true if all arguments are truthy.

OR

Takes a variable number of arguments and returns true if any arguments are truthy.

NOT

Evaluates the provided argument to a boolean value, and then inverts that value.

IN

Returns true if the first provided argument is equal to any of the subsequent arguments. IN can be thought of as a more compact form of a series of OR equality checks.

EXISTS

Returns true when the supplied argument has a defined value. Returns false when the supplied argument does not have a defined value.