> For the complete documentation index, see [llms.txt](https://minwork.gitbook.io/array/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://minwork.gitbook.io/array/validating-array/isnested.md).

# isNested

#### Definition

```php
Arr::isNested(array $array): bool
```

#### Description

Check if any element of an array is also an array

#### Examples

```php
Arr::isNested([]) -> false

Arr::isNested([1, 2, 3]) -> false

Arr::isNested([1, 2 => [], 3]) -> true

Arr::isNested([1, 2 => [[[]]], 3 => []]) -> true
```
