Agent Script Reference: Supported Operators

In Agent Script, you can use these operators.

CategoryOperatorDescriptionExample
Comparison==Equal to@variables.count == 10
!=Not equal to@variables.status != "done"
<Less than@variables.age < 18
<=Less than or equal@variables.score <= 100
>Greater than@variables.count > 0
>=Greater than or equal@variables.total >= 50
isIdentity check@variables.value is None
is notNegated identity check@variables.data is not None
LogicalandLogical AND@variables.a and @variables.b
orLogical OR@variables.x or @variables.y
notLogical NOTnot @variables.flag
Arithmetic+Addition@variables.count + 1
-Subtraction@variables.total - 5

Related Topics