Operators
Logic
Logical operators can be used to create more complex conditions in our templates.
Currently supported logical operators:
and
: Returns true
if both the left and right operands are true.
Example of use:
or
: Returns true
if at least one of the operands, either left or right, is true.
Example of use:
not
: Negates an expression, inverting its logical value.
Example of use:
(expr)
: Groups an expression to define operator precedence.
Example of use: