bool
Send to Kindle
home
»
snippets
»
lua
»
bool
Notes
nil
and
false
are the only logical
false
values in a logical expression. Everything else is
true
.
true
and
false
are not numeric (e.g. 1 and 0)
nil
coerces to a boolean by a logical operator.
not nil
==
true