DomEL provides the following operators, listed in order of precedence. Operators higher in this list are evaluated before operators lower in the list:
Operator |
Syntax |
Description |
multiply, divide |
i * j / k |
Arithmetic operators for numeric types only. Parentheses for grouping are not supported. |
add, subtract |
i + j - k |
|
equal |
i == j |
Comparison operators for string, numeric, and date types. |
not equal |
i != j |
|
less than |
i < j |
Comparison operators for numeric and date types only. |
less than or equal |
i <= j |
|
greater than |
i > j |
|
greater than or equal |
i >= j |
|
in set |
i in ('apples','oranges') |
Sets can be of any type. |
in range |
i in (j:k) |
Ranges must be numeric or date types. |
not |
not ( i ) |
Boolean operators. Parentheses are required for not and may be used for grouping. |
and |
i and j and k |
|
or |
i or j or k |
DomEL also defines the following operations as functions: