Question if given array contains one or more other arrays

array:is_multidimensional?(ARRAY $array) : BOOL

array:is_multidimensional?(["0" => "movies","1" => "ugly","label"=> "Ugly"])
#=> FALSE

array:is_multidimensional?([1,2,3])
#=> FALSE

array:is_multidimensional?([1,2,3, [4] ])
#=> TRUE

array:is_multidimensional?([])
#=> FALSE

Copyright ©2013-2022 SunSed®. All rights reserved.