Operators
ZML includes many logical and comparison operators.
Operator | Description |
| equals |
| does not equal |
| greater than |
| less than |
| greater than or equal to |
| less than or equal to |
| logical or |
| logical and |
For example,
|
Multiple operators are permitted as well:
|
Contains
The contains
object checks for the presence of a substring inside a string.
|
contains
can also check for the presence of a string in an array of strings. Assuming we have an array called subscription_preferences
:
|
contains
can only search strings. You cannot use it to check for an object in an array of objects.