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

Ad blocker interference detected!

Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.