objNull: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(outdated note removed)
(example)
Line 17: Line 17:
| [[Object]] |= Return value
| [[Object]] |= Return value
____________________________________________________________________________________________
____________________________________________________________________________________________
 
|x1= <code>[[player]] == [[player]]; // false if player is null</code>|= EXAMPLE1
|x2= <code>[[isNull]] [[player]]; // true if player is null</code>|= EXAMPLE1
____________________________________________________________________________________________
____________________________________________________________________________________________



Revision as of 19:20, 26 March 2016

Hover & click on the images for description

Description

Description:
A non-existing Object. To compare non-existing objects use isNull or isEqualTo:
Groups:
Uncategorised

Syntax

Syntax:
objNull
Return Value:
Object

Examples

Example 1:
player == player; // false if player is null
Example 2:
isNull player; // true if player is null

Additional Information

See also:
controlNulldisplayNullgrpNulllocationNulltaskNullteamMemberNullscriptNullconfigNulltypeNameisNull

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