smr/doc/appendix.md

336 B

falsey

In Lua, the values false and nil are considered falsey. All other values are considered truethy. In addition, tables may have a metatable that has a __toboolean function to implement their own truethyness or falseyness. false should be used in places where a boolean is expected, and nil should be used otherwise.