ndim method

int ndim(
  1. List list
)

Implementation

int ndim(List list) {
  return getDim(list).length;
}