[Ride v5] Operators
⚠️ This is the documentation for the Standard Library version 5, which is currently available for Stagenet only. Go to Mainnet version
Arithmetic operators
Operator | Description |
+ | Addition |
- | Subtraction |
* | Multiplication |
/ | Division |
% | Remainder |
Comparison operators
Operator | Description |
< | Less than |
> | Greater than |
<= | Less than or equal |
>= | Greater than or equal |
Equality operators
Operator | Description |
== | Equality |
!= | Inequality |
Local definition operators
Operator | Description |
func | Function local definition |
let | Lazy definition of a variable |
strict | Strict definition of a variable |
Conditional operators
List operators
Operator | Description |
++ | Concatenation |
:+ | Adding the element to the end of the list |
:: | Adding the element to the beginning of the list |
See examples of the List article.
Unary operators
Operator | Description |
- | Unary minus |
! | Logical negation |
Logical operators
Operator | Description |
&& | Logical AND |
|| | Logical OR |