Basic operators
==
: equals!=
: does not equal>
: greater than<
: less than>=
: greater than or equal to<=
: less than or equal toor
: logical orand
: logical and
Control flow
if
Executes a block of code only if a certain condition is true
.
equal
Input:(判断两个值是否相等)
Output:
exist
Another Example:(判断一个值是否为空)
contains
contains
checks for the presence of a substring inside a string.
contains
can also check for the presence of a string in an array of strings.
contains
can only search strings. You cannot use it to check for an object in an array of objects.
multi
You can do multiple comparisons in a tag using the and
and or
operators: