array-rank
(array-rank array)
Returns the number of dimensions of array: 1 for a vector, 2 for a two-dimensional array, and so on for higher ranks. It equals the length of the list returned by array-dimensions.
(array-rank array)
Returns the number of dimensions of array: 1 for a vector, 2 for a two-dimensional array, and so on for higher ranks. It equals the length of the list returned by array-dimensions.