Wikia

WoWWiki

API TYPE nil

Talk0
102,090pages on
this wiki
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

Around Wikia's network

Random Wiki