Arma 3 Scripting

Function in Configs

BIS_fnc_getCfgIsClass

Also available as Markdown and JSON, or read the original wiki page.

Description

Return true if it is a class. Can by called in two ways:

Syntax

Syntax 1

configEntry call BIS_fnc_getCfgIsClass

Parameters:

Returns: Boolean - true if it is a class

Syntax 2

classNames call BIS_fnc_getCfgIsClass

Parameters:

Returns: Boolean - true if it is a class

Examples

Example 1

private _isClass = (missionConfigFile >> "Hubs" >> "A1" >> "QuickStart") call BIS_fnc_getCfgIsClass;

Example 2

private _isClass = ["Hubs"] call BIS_fnc_getCfgIsClass;

See also

BIS_fnc_getCfg · BIS_fnc_getCfgData · BIS_fnc_getCfgDataArray · BIS_fnc_getCfgDataBool · BIS_fnc_getCfgDataObject · BIS_fnc_getCfgDataPool · BIS_fnc_getCfgSubClasses