The following operators are available for Twig and supported in any expression in the SAP Engagement Cloud Scripting Language:
-
Comparison operators:Compare values and return true or false state. The operators include:
==,!=,<,>,>=,<= -
Logical operators:Combine multiple boolean expressions or values and provide a single boolean output. The operators include:
and,or
Operators
- in
- is
- Math(+, -, /, %, //, *, **)
- Logic(and, or, not, (), b-and, b-xor, b-or)
-
Comparisons(==, !=, <, >, >=, <=,===,
starts with, ends with, matches) - Others(.., |, ~, ., [], ?:, ??)