Boolean Expressions
Variables may be used in boolean expressions. Variables which are not explicitly boolean may be interpreted as boolean subject to certain rules.
Variables which are not explicitly boolean may be interepreted as booleans subject to the following rules:
-
Similar to python and javascript, empty collections (for example,
[]
) will be interpreted asfalse
- Similar to python and javascript, missing variables will be interpreted as
false
- Variables set to
null
will be interpreted asfalse
Otherwise, boolean variables will be interpreted as their values reflect.