Logical functions

All of the logical functions return a boolean type. These functions allow various conditions to be tested. Types have order of precedence. When comparing values of different types, they are ranked in the following order, from greatest to least. For example, a double is sorted before an integer because of its type.

  1. Nulls

  2. Doubles

  3. Booleans

  4. Dates

  5. Times

  6. Refs

  7. Objects

  8. Arrays

  9. Strings

  10. Integers

And

Returns true if all values are true.

Contains

Returns true when an object path points to an object’s value.

Equals

Returns true of all values are equivalent.

Exists

Returns true if an instance has an event at a specific time.

GT

Returns true if each value is greater than all following values.

GTE

Returns true if each value is greater than, or equal to, all following values.

LT

Returns true if each value is less than all following values.

LTE

Returns true if each value is less than, or equal to, all following values.

Not

Returns the opposite of a boolean expression.

Or

Returns true if any value is true.