Built-in Operators

The following operators are built-in, meaning that they are always available, even when using a raw Engine.

OperatorsAssignment operatorsSupported types
(see standard types)
+,+=INT
FLOAT (if not no_float)
Decimal (requires decimal)
char
ImmutableString
-, *, /, %, **,-=, *=, /=, %=, **=INT
FLOAT (if not no_float)
Decimal (requires decimal)
<<, >><<=, >>=INT
&, |, ^&=, |=, ^=INT (bit-wise)
bool (non-short-circuiting)
&&, ||bool (short-circuits)
==, !=INT
FLOAT (if not no_float)
Decimal (requires decimal)
bool
char
ImmutableString
()
>, >=, <, <=INT
FLOAT (if not no_float)
Decimal (requires decimal)
char
ImmutableString
()
inImmutableString
char/ImmutableString
ImmutableString/object map

All built-in operators are binary, and are supported for both operands of the same type.

FLOAT and Decimal also inter-operate with INT, while strings inter-operate with characters for certain operators (e.g. +).