minwork/array
Minwork Array provides fast, well-tested helpers for nested, associative, and object arrays. Get/set/has plus map, filter, find, group, sort, and validation, with fluent-style chaining. No dependencies; modern PHP syntax.
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
How can I help you explore Laravel packages today?