The platform supports expressions that perform calculations, logical evaluations, and comparisons, by applying operators to operands.
A binary operator receives two operands:
OPERAND-A OPERATOR OPERAND-B
Copy
Copied to clipboard
A unary operator receives a single operand:
OPERATOR OPERAND
Copy
Copied to clipboard
There are also special operators such as the array operator ([ ]
).
An OPERAND
can be any expression that evaluates to a value that
matches the types supported by the related operator.
This section documents the operators can be used in expressions.