Talk:Data types
What is the scope of this page? Is it meant to document data types in Lua as used in Factorio modding? IMO it's better to just refer to the Lua 5.2 docs for that. For example this page claims that a bool is a number either 0 or 1, which is the case in C++, but is not how it appears to the Lua programmer: nil (the unique value of the nil type) and false are false, everything else (including the number 0 of any type) is true. Thrawcheld (talk) 01:14, 27 January 2025 (UTC)