Tutorial by Topics: booleans



Booleans, truth, and falsity are straightforward in Lua. To review: There is a boolean type with exactly two values: true and false. In a conditional context (if, elseif, while, until), a boolean is not required. Any expression can be used. In a conditional context, false and nil count as fal...

Page 1 of 1