pub fn value_ndims(value: &Value) -> usize
Compute the dimensionality (NDIMS) of a runtime value, with MATLAB semantics.