Skip to content
On this page

📙 Operators

In any expression you can use any of these operators.

🔢 Arithmetic operators

NameDescriptionExample
+The plus operator5 + 1 OR +2
-The minus operator5 - 1 OR -2
*The multiplication operator3 * 4
/The division operator10 / 2
^The power-of operator2 ^ 3 (8)
%The modulo operator (remainder)10 % 3 (1)

☯️ Boolean operators

NameDescriptionExample
=, ==The equals operator"Hyrex" == "Hyrex"
!=The not equals operator"Hyrex" != "Studios" (true)
!The prefix not operator!("Hyrex" != "Studios") (false)
>The greater than operator10 > 5 (true)
>=The greater equals operator6 >= 6 (true)
<The less than operator4 < 7 (true)
<=The less equals operator8 <= 3 (false)
&&The AND operator"Hyrex" == "Studios" && 1 >= 1 (false)
||The OR operator"Hyrex" == "Studios" || 1 >= 1 (true)