isArray: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "{{uc:{{PAGENAME}}}}" to "")
mNo edit summary
Line 5: Line 5:


|1.00|Game version=
|1.00|Game version=
|gr1= Config |GROUP1=
|gr2= Arrays |GROUP2=
____________________________________________________________________________________________
____________________________________________________________________________________________


Line 14: Line 18:
| [[Boolean]]  |RETURNVALUE=
| [[Boolean]]  |RETURNVALUE=
____________________________________________________________________________________________
____________________________________________________________________________________________
|x1 = <code> _ok <nowiki>=</nowiki> '''isArray''' (configFile >> "CfgVehicles")</code>
|x1 = <code> _ok <nowiki>=</nowiki> '''isArray''' ([[configFile]] >> "CfgVehicles")</code>


Result is false   
Result is false   

Revision as of 11:25, 24 September 2020

-wrong parameter ("Arma") defined!-1.00
Hover & click on the images for description

Description

Description:
Check if config entry represents array.
Groups:
ConfigArrays

Syntax

Syntax:
Boolean = isArray config
Parameters:
config: Config
Return Value:
Boolean

Examples

Example 1:
_ok = isArray (configFile >> "CfgVehicles") Result is false

Additional Information

See also:
configFileconfig/nameconfigNamecountgetArraygetTextgetNumberinheritsFromisClassisNumberisTextselect

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

Bottom Section