Conditional Statements

Boa uses the regular operators for conditional statements.

IMPORTANT NOTE: Comparing different types will always return false.

All the conditional operators are:

All conditional statements are written as:

leftVal operator rightVal

Using the operators

Maps and lists only have the == and != operator

>>> 5 == 5
1
>>> "5" != "5"
0
>>> 2 < 7
1
>>> 8 <= 7
0
>>> 8 > 7
1
>>> 7 >= 7
1