Arr::isNested(array $array): bool
Check if any element of an array is also an array
Arr::isNested([]) -> false Arr::isNested([1, 2, 3]) -> false Arr::isNested([1, 2 => [], 3]) -> true Arr::isNested([1, 2 => [[[]]], 3 => []]) -> true
Last updated 5 years ago