isArray: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " \{\{GameCategory *\| *arma1 *\| *(New )?Scripting Commands\}\}" to "")
m (Text replacement - "\| *(arg|eff|mp|serverExec|gr[0-9]) *= *(.*) * *\|([^=0-9]{12})" to "|$1=$2 |descr=$3")
Line 9: Line 9:
|gr2= Arrays
|gr2= Arrays


| Check if config entry represents array.
|descr= Check if config entry represents array.


|s1=  '''isArray''' config
|s1=  '''isArray''' config

Revision as of 22:10, 13 June 2021

Hover & click on the images for description

Description

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

Syntax

Syntax:
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