Expression Operators
The platform supports expressions that perform calculations, logical evaluations, and comparisons, by applying operators to operands.
- Function operators are described separately. See Expression Functions.
- For update-expression keyword operators, see Update Expression.
- The names expression operators are reserved names in the platform. For more information, see Reserved Names.
A binary operator receives two operands:
OPERAND-A OPERATOR OPERAND-B
A unary operator receives a single operand:
OPERATOR OPERAND
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.