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 6 years ago
Was this helpful?
This site uses cookies to deliver its service and to analyze traffic. By browsing this site, you accept the privacy policy.