isNull: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - " +" to " ") |
Lou Montana (talk | contribs) m (Text replacement - " \|(x[0-9]|p[0-9]{1,2}|descr|game[0-9]|version[0-9]|s[0-9]|exec|r[0-9]|arg|eff|branch|serverExec|gr[0-9]|mp|pr|seealso) +=" to " |$1=") |
||
Line 54: | Line 54: | ||
| [[isNull]] entity | | [[isNull]] entity | ||
|p1 = entity: [[Object]], [[Control]], [[Display]], [[Group]], [[Location]], [[Task]], [[Script]], [[Config]] or [[Diary Record]] | |p1= entity: [[Object]], [[Control]], [[Display]], [[Group]], [[Location]], [[Task]], [[Script]], [[Config]] or [[Diary Record]] | ||
|r1= [[Boolean]] | |r1= [[Boolean]] | ||
|x1 = <code>[[if]] ([[isNull]] obj) [[then]] {[[hint]] "doesn't exist";};</code> | |x1= <code>[[if]] ([[isNull]] obj) [[then]] {[[hint]] "doesn't exist";};</code> | ||
|seealso= [[controlNull]], [[displayNull]], [[grpNull]], [[locationNull]], [[objNull]], [[taskNull]], [[teamMemberNull]], [[scriptNull]], [[configNull]], [[typeName]] | |seealso= [[controlNull]], [[displayNull]], [[grpNull]], [[locationNull]], [[objNull]], [[taskNull]], [[teamMemberNull]], [[scriptNull]], [[configNull]], [[typeName]] |
Revision as of 23:29, 10 June 2021
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:
- Boolean
Examples
Additional Information
- See also:
- controlNulldisplayNullgrpNulllocationNullobjNulltaskNullteamMemberNullscriptNullconfigNulltypeName
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