Conditional Expressions

212,984pages on
this wiki
Add New Page
Add New Page Discuss this page0


Integers can be compared using the standard comparator operators.


equal to
not equal to
strictly less than
less than or equal to
strictly greater than
greater than or equal to


Strings can be compared using the same operators.

The == and != comparators check if a whole string is exactly the same as another one. The < comparator checks if one string comes before another. The following all return true.

 apple < banana
 apple < Apple
 _apple < apple

These would all return false for the > operator.

Also on Fandom

Random wikia