2.5.3 Boolean Data Type

There are only two values, true and false, as the result of the following logic and comparison operations.

var x=true
print false and x
print 10 > 5
print 10 <= 5

# Result of print
false
true
false

Last updated

Was this helpful?