Nothing: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(Fixed description of Nothing type.)
m (Minor tip)
 
Line 1: Line 1:
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 [[:Category:Data Types|type]].
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 [[:Category:Data Types|type]].
Its presence can be checked using [[isNil]].


[[Category: Magic Types]]
[[Category: Magic Types]]

Latest revision as of 18:42, 22 December 2014

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.