The "array_depth" Function
Syntax#
| Argument | Type | Description |
|---|---|---|
id | array | The index of a previously-created array to check |
Description#
Returns the number of dimensions contained in an array. If the input value is not an array, 0 will be returned instead.
Note that array dimensions are not required to have uniform depth. This function returns the deepest dimension contained within an array.

X1