Booleans, truth, and falsity are straightforward in Lua. To review:
true and false.if, elseif, while, until), a boolean is not required. Any expression can be used.false and nil count as false, and everything else counts as true.0 and the empty string count as true in conditional contexts in Lua.