104,545pages on
this wiki
Add New Page
Add New Page Talk0
API types < nil

The Lua 'nil' type, use in WoW Lua and the WoW API. See WoW Lua for WoW Lua reference. See also values and types for the general reference definition.

Details Edit

The Lua the 'nil' type, or usually thought of as the 'nil' value, is used to designate the absence of any other real type or value.

In WoW, 'nil' with number 1 was used to denote a kind of 'boolean' true or false value for the WoW API, as this works often nicely with the language.  However with new version of Lua gaining a real 'boolean' type, more often now the real Lua boolean type is used. See also the WoW Boolean type for more information about the old type.

See also Edit

Also on Fandom

Random Wiki