Article Type: How-To Audience: Developers, App Admins Module: How To
Standard JSONata Boolean operators available in expressions throughout the Fuuz platform.
and (Boolean AND)
The and operator returns Boolean true if both operands evaluate to true. If either or both operands is not a Boolean type, then they are first cast to a Boolean using the rules of the $boolean function.
Example
library.books["Aho" in authors and price < 50].title
or (Boolean OR)
The or operator returns Boolean true if either operand evaluates to true. If either or both operands is not a Boolean type, then they are first cast to a Boolean using the rules of the $boolean function.
Example
library.books[price < 10 or section="diy"].title
Note: Boolean NOT is a function ($not() — see Boolean Functions), not an operator.
See Also
Related Articles
Boolean Functions
Article Type: How-To Audience: Developers, App Admins Module: How To Standard JSONata Boolean functions available in expressions throughout the Fuuz platform. $boolean() Signature: $boolean(arg) Casts the argument to a Boolean using the following ...
Comparison Operators
Article Type: How-To Audience: Developers, App Admins Module: How To Standard JSONata comparison operators available in expressions throughout the Fuuz platform. = (Equals) The equality operator returns Boolean true if both operands are the same ...
Other Operators
Other Operators Fuuz Context Where this applies in Fuuz: These operators are frequently used in Fuuz Mappings and Rules to craft strings, bind variables, chain functions, and define transforms that keep payloads consistent across steps. Concatenation ...
Path Operators
Path Operators Fuuz Context Where this applies in Fuuz: Path operators drive how Fuuz Pipelines traverse inbound payloads and build outbound messages. They are central to mapping data from PLC/MES/ERP sources into normalized objects before publishing ...
Numeric Operators
Numeric Operators + (Addition) The addition operator adds the operands to produce the numerical sum. It is an error if either operand is not a number. Example 5 + 2 => 7 - (Subtraction/Negation) The subtraction operator subtracts the RHS value from ...