Returns the shape of a nested array length. Note that the array should have compile-time nested lengths. Dynamic arrays get compile errors.
input array
shape
assert([1].shapeNested == [1]); assert([1, 2].shapeNested == [2]); assert([[1,2],[3,4],[5,6]].shapeNested == [3, 2]);
See Implementation
Returns the shape of a nested array length. Note that the array should have compile-time nested lengths. Dynamic arrays get compile errors.