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

The functions are:

Was this article helpful?

We're sorry to hear that.
Tell us how we can improve! documentation@fauna.com

Thank you for your feedback!