Unary Operators
- Last UpdatedNov 30, 2023
- 1 minute read
The unary operators are applied to a single operand and returns a result of the same type.
|
Operator |
Operation |
Operand type |
Result type |
|---|---|---|---|
|
- |
negation |
numeric |
same numeric |
|
+ |
identify |
numeric |
same numeric |
|
NOT |
logical negation |
boolean |
boolean |