objNull: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (formatted notes)
(outdated note removed)
Line 7: Line 7:
____________________________________________________________________________________________
____________________________________________________________________________________________


| A non-existing [[Object]]. This value is not equal to anything, including itself. |= Description
| A non-existing [[Object]]. To compare non-existing objects use [[isNull]] or [[isEqualTo]]:
* <tt>[[objNull]] <nowiki>==</nowiki> [[objNull]]; // false</tt>
* <tt>[[isNull]] [[objNull]]; // true</tt>
* <tt>[[objNull]] [[isEqualTo]] [[objNull]]; // true</tt> |= Description
____________________________________________________________________________________________
____________________________________________________________________________________________


Line 23: Line 26:
<h3 style="display:none">Notes</h3>
<h3 style="display:none">Notes</h3>
<dl class="command_description">
<dl class="command_description">
<!-- Note Section BEGIN -->
<dt class="note">Unknown
<dd class="note">You can not compare these values, but you can check whether they are null:
<code>[[hint]] [[str]] [[isNull]] [[objNull]] // true</code>
<!-- Note Section END -->
</dl>
</dl>



Revision as of 19:18, 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

Examples:
Example needed

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