array-rank
array-rank array → rank
array—an array.
Barmar observes that nothing requires the implementation to enforce ARRAY-RANK-LIMIT. It's a requirement on the user to be prepared to lose if he exceeds it, but it is not a requirement on the implementation to make him lose in that case.rank—a non-negative integer.
17.3.0 4Returns the number of dimensions of array.
(array-rank (make-array '())) → 0 (array-rank (make-array 4)) → 1 (array-rank (make-array '(4))) → 1 (array-rank (make-array '(2 3))) → 2
None.
Should signal an error of type type-error if its argument is not an array.
None.