isNull
From Bohemia Interactive Community
Click on the images for descriptions
Introduced in
- Game:
- Operation Flashpoint
- Version:
- 1.00
Description
- Description:
- Checks whether the tested item is Null.
Which null type the item has to be equal to depends on the type of object tested:
- Objects -> objNull
- Controls -> controlNull
- Displays -> displayNull
- Groups -> grpNull
- Locations -> locationNull (since ARMA 2)
- Tasks -> taskNull (since ARMA 2)
- Team Members -> teamMemberNull (since ARMA 2)
Note: A test via == does not work, because, for example, objNull is not equal to anything, not even to itself.
Syntax
- Syntax:
- isNull obj
- Parameters:
- obj: Object, Control, Display, Group (or Location, Task, Team Member, since ARMA 2)
- Return Value:
- Boolean
Examples
- Example 1:
if (isNull obj) then {hint "doesn't exist"}
Additional Information
- Multiplayer:
- -
- See also:
- controlNull, displayNull, grpNull, locationNull, taskNull, teamMemberNull
Notes
Notes