not
not <expression>
<expression> must be boolean. The result is boolean.
Example:
not 3.15 < 1
Comparison
is null
<expression> is null
The result is boolean.
Note that null means the expression has no evaluated value.
Example:
@{BarBeacon.location} is null
is not null
<expression> is not null
The result is boolean.
Note that null means the expression has no evaluated value.
Example:
@ is not null
has null
<expression> has null
<expression> must be a list. The result is boolean.
Useful to identify that a list contains at least one null value.
Example:
["foo", "bar", null] has null -- returns true.
["foo", "bar", ""] has null -- returns false because "" is not considered as null.
==
<expression1> == <expression2>
Both <expression1> and <expression2> must have the same data type. The result is boolean.
Example:
3.14 == 42
"foo" == "bar"
!=
<expression1> != <expression2>
Both <expression1> and <expression2> must have the same data type. The result is boolean.
Example:
3.14 != 42
"foo" != "bar"
>
<expression1> > <expression2>
Datetime can be compared with Datetime.
Datetimeonly can be compared with Datetimeonly.
Both integer or decimal can be compared with both integer or decimal.
Any other combination is forbidden.
The result is boolean.
Example:
3.14 > 42
>=
<expression1> >= <expression2>
Datetime can be compared with Datetime.
Datetimeonly can be compared with Datetimeonly.
Both integer or decimal can be compared with both integer or decimal.
Any other combination is forbidden.
The result is boolean.
Example:
42 >= 3.14