isNull: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " " to " ")
m (Text replacement - "\{\{( *)Important( *)\|" to "{{$1Feature$2|$2important$2|")
Line 47: Line 47:
{{!}}}
{{!}}}


{{Important | A test via {{=}}{{=}} does '''not''' work, because a null value is not equal to anything, not even itself ([[configNull]] being the exception).
{{Feature | important | A test via {{=}}{{=}} does '''not''' work, because a null value is not equal to anything, not even itself ([[configNull]] being the exception).
See also [[isEqualTo]].}}
See also [[isEqualTo]].}}



Revision as of 02:12, 7 February 2021

Hover & click on the images for description

Description

Description:
Description needed
Problems:
teamMemberNull for Team Member type is not supported. Use private _isNull = _teamMember isEqualTo teamMemberNull instead.
Groups:
Variables

Syntax

Syntax:
Syntax needed
Parameters:
entity: Object, Control, Display, Group, Location, Task, Script, Config or Diary Record
Return Value:
Return value needed

Examples

Example 1:
if (isNull obj) then {hint "doesn't exist";};

Additional Information

See also:
See also needed

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