---
name: "isClass"
type: command
status: ok
groups: ["Config"]
arma3_since: "0.50"
locality: {"argument": null, "effect": null, "server_exec": false}
source: https://community.bistudio.com/wiki/isClass
revid: 341206
updated: 2023-05-13T22:33:10Z
---

# isClass

*Command · Config · Arma 3 v0.50 · introduced in Armed Assault v1.00*

## Description

Check if config entry represents config class.

## Syntax

```sqf
isClass config
```

**Parameters:**

- `config`: [Config](../topics/Config.md)

**Returns:** [Boolean](../topics/Boolean.md)

## Examples

### Example 1

```sqf
_ok = isClass (configFile >> "CfgVehicles");
```

 Result is [true](../commands/true.md).

## See also

[configFile](../commands/configFile.md) · [a / b](../commands/a_~2F_b.md) · [configName](../commands/configName.md) · [count](../commands/count.md) · [getArray](../commands/getArray.md) · [getText](../commands/getText.md) · [getNumber](../commands/getNumber.md) · [inheritsFrom](../commands/inheritsFrom.md) · [isArray](../commands/isArray.md) · [isNumber](../commands/isNumber.md) · [isText](../commands/isText.md) · [select](../commands/select.md)

## Community notes

**Kronzky** — 2007-03-02

This command allows you to check for the presence of an addon.
 isClass (configFile >> "cfgVehicles" >> "MyCustomCar")
will return [true](../commands/true.md) if the addon "MyCustomCar" is installed, and [false](../commands/false.md) if it is not installed.

*You will have to know under which class the addon is categorized (in this case "cfgVehicles") to be able to use the right config path.*

---

**ffur2007slx2_5** — 2014-03-31

(Arma 3 ver 1.14) According to BI Dev Karel Mořický, [BIS_fnc_getCfgIsClass](../functions/BIS_fnc_getCfgIsClass.md) provides a comfortable workaround with custom config under description.ext compared with [isClass](../commands/isClass.md).
(But as a function created specifically for A3 campaign, it is in no way intended as a replacement for [isClass](../commands/isClass.md).
So it is not suggested to use it for [configFile](../commands/configFile.md) classes. But [isClass](../commands/isClass.md) instead.)
E.g.

```sqf
["Something1", "Something2", "Something3"] call BIS_fnc_getCfgIsClass; // same as isClass (missionConfigFile >> "Something1" >> "Something2" >> "Something3")
```

<sub>Source: [BI Community Wiki — isClass](https://community.bistudio.com/wiki/isClass) (revision 341206).</sub>
