Mod API Reference:Nullable

From Warzone Wiki
Revision as of 17:27, 4 December 2018 by DanWL60 (talk | contribs)
(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.