isNull

From Bohemia Interactive Community
Revision as of 16:38, 3 June 2009 by Kronzky (talk | contribs) (add. ArmA2 classification)
Jump to navigation Jump to search
Hover & click on the images for description

Description

Description:
Checks whether the tested item is Null.
Which null type the item has to be equal to depends on the type of object tested:
Note: A test via == does not work, because, for example, objNull is not equal to anything, not even to itself.
Groups:
Uncategorised

Syntax

Syntax:
isNull obj
Parameters:
obj: Object, Control, Display, Group (or Location, for VBS2 1.24 and higher)
Return Value:
Boolean

Examples

Example 1:
if (isNull obj) then {hint "doesn't exist"}

Additional Information

See also:
controlNulldisplayNullgrpNulllocationNull

Notes

Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note

Notes

Bottom Section