Nothing

From Bohemia Interactive Community
Revision as of 18:42, 22 December 2014 by AgentRev (talk | contribs) (Minor tip)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

An expression of type Nothing is no value. It cannot be assigned to a variable. It exists because each expression needs to return some value and needs to have some clearly identified type.

Its presence can be checked using isNil.