Mod API Reference:Nullable

From Warzone Wiki
Revision as of 05:44, 4 April 2017 by Fizzer (talk | contribs) (Created page with "Just a signal that the variable can be '''nil''' in Lua. '''Nullable''' is not actually a proxy object in the Mod API, but still shows up on in the documentation as one. Of ...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Just a signal that the variable can be nil in Lua. Nullable is not actually a proxy object in the Mod API, but still shows up on in the documentation as one.

Of course, everything in Lua can be nil, so this attribute may seem redundant. However, as a general rule, you can assume anything that's a primitive type like an integer or number will never be nil unless it's documented with this Nullable signal.