isNil: Difference between revisions
No edit summary  | 
				 (Clarified what this does.)  | 
				||
| Line 7: | Line 7: | ||
____________________________________________________________________________________________  | ____________________________________________________________________________________________  | ||
| Tests whether the variable is   | | Tests whether the expression result is undefined. Most common use is to check when a variable is undefined. The function returns true if the expression is undefined (i.e. the expression result is [[Void]] and false if it is defined. |= Description  | ||
____________________________________________________________________________________________  | ____________________________________________________________________________________________  | ||
Revision as of 10:14, 7 September 2007
Description
- Description:
 - Tests whether the expression result is undefined. Most common use is to check when a variable is undefined. The function returns true if the expression is undefined (i.e. the expression result is Void and false if it is defined.
 - Groups:
 - Uncategorised
 
Syntax
Examples
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 
Notes
- ColonelSandersLite
 
I recently had a strange experience with this command. I forgot to wrap the name of the variable with quotes, and it returned the opposite of the true null status of the variable. Just something to watch out for.