- array-rank arrayprocedure
Returns the rank (number of dimensions) of the provided array.
(import generalized-arrays test) (test "Rank of array is 2" 2 (make-array vector-storage-class #(2 2))) (test "Rank of array is 3" 3 (make-array vector-storage-class #(2 3 3)))