objNull: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (template:command argument fix)
m (template:command argument fix)
Line 10: Line 10:
* <tt>[[objNull]] <nowiki>==</nowiki> [[objNull]]; // false</tt>
* <tt>[[objNull]] <nowiki>==</nowiki> [[objNull]]; // false</tt>
* <tt>[[isNull]] [[objNull]]; // true</tt>
* <tt>[[isNull]] [[objNull]]; // true</tt>
* <tt>[[objNull]] [[isEqualTo]] [[objNull]]; // true</tt> |= Description
* <tt>[[objNull]] [[isEqualTo]] [[objNull]]; // true</tt> |DESCRIPTION=
____________________________________________________________________________________________
____________________________________________________________________________________________


|  '''objNull''' |= Syntax
|  '''objNull''' |SYNTAX=


| [[Object]] |= Return value
| [[Object]] |RETURNVALUE=
____________________________________________________________________________________________
____________________________________________________________________________________________
|x1= <code>[[player]] == [[player]]; // false if player is null</code>|EXAMPLE1=  
|x1= <code>[[player]] == [[player]]; // false if player is null</code>|EXAMPLE1=  
Line 23: Line 23:
____________________________________________________________________________________________
____________________________________________________________________________________________


| [[controlNull]], [[displayNull]], [[grpNull]], [[locationNull]], [[taskNull]], [[teamMemberNull]], [[scriptNull]], [[configNull]], [[typeName]], [[isNull]]  |= See also
| [[controlNull]], [[displayNull]], [[grpNull]], [[locationNull]], [[taskNull]], [[teamMemberNull]], [[scriptNull]], [[configNull]], [[typeName]], [[isNull]]  |SEEALSO=


}}
}}

Revision as of 15:44, 7 April 2019

Hover & click on the images for description

Description

Description:
A non-existent Object. To compare non-existent 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
Example 3:
str objNull // <NULL-object>
Example 4:
position objNull // [0,0,0]

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