Expand description

The operator mod contains operators, from which the predicates are defined.

Overview:

operatormeaningexample
= or ==equal= 5 or name = "Peter"
!=not equal!= 5 or name != "Peter"
<less< 5
<=less equal<= 5
>greater> 5
>=greater equal>= 5
lenlength of an stringname len 5
is_emptystring is emptyname is_empty or name = ""
containsstring contains other string/charname contains "Pe"
starts_withstring starts with string/charname starts_with "Pe"
ends_withstring ends with string/charname ends_with "er"
one_ofone element from given listx one_of [1, 3, 7]
regexregexpression (feature = “regex”)x regex "[0-9]{2}"

Structs

Type Definitions