grpNull: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " \{\{GameCategory\|[a-z]+[0-9]?\|Scripting Commands\}\}" to "")
m (Text replacement - "<tt>([^= ]+)<\/tt>" to "{{hl|$1}}")
Line 26: Line 26:
|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>
* <tt>[[grpNull]] <nowiki>==</nowiki> [[grpNull]]; // false</tt>
* <tt>[[isNull]] [[grpNull]]; // true</tt>
* {{hl|[[isNull]] [[grpNull]]; // true}}
* <tt>[[grpNull]] [[isEqualTo]] [[grpNull]]; // true</tt>
* {{hl|[[grpNull]] [[isEqualTo]] [[grpNull]]; // true}}


|s1= '''grpNull'''
|s1= '''grpNull'''

Revision as of 01:16, 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