Anything

From Bohemia Interactive Community
Revision as of 10:34, 17 February 2021 by R3vo (talk | contribs)
Jump to navigation Jump to search

A variable of type Anything may be of any data types or Nothing.

Even though some commands list data type Anything as possible value, passing nil (Nothing) to a command might cause it not to work.

Example:

str nil; // While the documentation for str states it takes Anything, nil / Nothing will cause it to not execute.


🚧
TODO: Add an example to explain the above statement.