This is documentation for Mathematica 5, which was
based on an earlier version of the Wolfram Language.
View current documentation (Version 11.1)

Documentation / Mathematica / Built-in Functions / Lists and Matrices / List Testing /

ArrayDepth

FilledSmallSquare ArrayDepth[expr] gives the depth to which expr is a full array, with all the parts at a particular level being lists of the same length, or is a SparseArray object.

FilledSmallSquare ArrayDepth[list] is equivalent to Length[Dimensions[list]].

FilledSmallSquare Examples: ArrayDepth[a,b] LongRightArrow; ArrayDepth[a,b] LongRightArrow.

FilledSmallSquare See Section 2.4.3 and Section 3.7.11.

FilledSmallSquare See also: Dimensions, Depth, ArrayQ, VectorQ, MatrixQ, PadLeft.

FilledSmallSquare New in Version 5.0.

Further Examples