≡ Depth r←≡y
r is a natural describing the depth of y:
- if
yis a simple scalar (a number or character),ris0 - if
yis an array and all its elements are simple scalars,ris1 - otherwise,
ris one more than the maximum depth of each of the elements ofy.