---
name: "isEqualTypeArray"
type: command
status: ok
groups: ["Variables", "Arrays"]
arma3_since: "1.54"
locality: {"argument": null, "effect": null, "server_exec": false}
source: https://community.bistudio.com/wiki/isEqualTypeArray
revid: 377152
updated: 2026-01-01T10:37:00Z
---

# isEqualTypeArray

*Command · Variables, Arrays · Arma 3 v1.54*

## Description

Compares types of all elements of one array to types of all elements of another array. Since Arma 3 v2.09.149634 no additional check is needed to make sure the first argument is an [Array](../topics/Array.md).

## Syntax

```sqf
arr1 isEqualTypeArray arr2
```

**Parameters:**

- `arr1`: [Anything](../topics/Anything.md)
- `arr2`: [Array](../topics/Array.md) of [Anything](../topics/Anything.md)

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

## Examples

### Example 1

```sqf
_arr = [1,true,"three"];
_arr isEqualTypeArray [0,objNull,""]; // false
_arr isEqualTypeArray [0,false,""]; // true
```

### Example 2

```sqf
_arr = [1,2];
_arr isEqualTypeArray [0]; // false
_arr isEqualTypeArray [0,0]; // true
_arr isEqualTypeArray [0,0,0]; // false
```

## See also

[isEqualTypeAll](../commands/isEqualTypeAll.md) · [isEqualType](../commands/isEqualType.md) · [isEqualTypeParams](../commands/isEqualTypeParams.md) · [param](../commands/param.md) · [params](../commands/params.md) · [isEqualTo](../commands/isEqualTo.md) · [typeName](../commands/typeName.md)

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