grpNull: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "<tt>([^= ]+)<\/tt>" to "{{hl|$1}}")
m (Text replacement - "<tt>([^ ]*=[^ ]*)<\/tt>" to "{{hl|c= $1}}")
Line 25: Line 25:


|descr= A non-existing [[Group]]. To compare non-existent groups use [[isNull]] or [[isEqualTo]]:
|descr= A non-existing [[Group]]. To compare non-existent groups use [[isNull]] or [[isEqualTo]]:
* <tt>[[grpNull]] <nowiki>==</nowiki> [[grpNull]]; // false</tt>
* {{hl|c= [[grpNull]] <nowiki>==</nowiki> [[grpNull]]; // false}}
* {{hl|[[isNull]] [[grpNull]]; // true}}
* {{hl|[[isNull]] [[grpNull]]; // true}}
* {{hl|[[grpNull]] [[isEqualTo]] [[grpNull]]; // true}}
* {{hl|[[grpNull]] [[isEqualTo]] [[grpNull]]; // true}}

Revision as of 00:23, 16 November 2021

Hover & click on the images for description

Description

Description:
A non-existing Group. To compare non-existent groups use isNull or isEqualTo:
Groups:
Groups

Syntax

Syntax:
grpNull
Return Value:
Group

Examples

Example 1:
!isNull grpNull; // false
Example 2:
str grpNull; // <NULL-group>

Additional Information

See also:
controlNulldisplayNulllocationNullobjNulltaskNullteamMemberNullscriptNullconfigNulltypeNameisNull

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