Operators
![](../__attachments/40699643/2022-03-22_14-25-25.png?inst-v=d7c833f8-8709-46dd-9a03-727c8f6a3bec)
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.