Comparators perform comparisons on data within conditions.
The following is a list of comparators available by default.
For additional comparison logic, !! a new comparator !! can be created.
Identifier | Name |
---|---|
equals | Equals |
not-equals | Does not equal |
greater-than | Greater than |
greater-than-or-equals | Greater than or equals |
less-than | Less than |
less-than-or-equals | Less than or equals |
one-of | Value one of list |
not-one-of | Value not one of list |
contains | List contains |
not-contains | List does not contain |
match | Matches fnmatch pattern |
not-match | Does not match fnmatch pattern |
regex | Matches PCRE expression |
not-regex | Does not match PCRE expression |
equals-adaptive | Adaptive equals comparison |
not-equals-adaptive | Adaptive not equals comparison |