WoW API type: boolean

Revision as of 04:24, 30 October 2013 by Bear (talk | contribs) (Created page with "{{wowapitype}} The Lua 'boolean' type, use in WoW Lua and the WoW API. See WoW Lua for WoW Lua reference. See also [http://www.lua.org/manual/5.1/manual.html#2.2 values an...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

API types < boolean

The Lua 'boolean' 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

Typically a boolean data type is one that by definition only has two states, "true" and "false". The new Lua boolean type holds the special values 'true' and 'false'. Many older APIs in WoW use these special WoW Lua Boolean semantics for a true and false.

See Also