Compute number of elements for a (possibly multidimensional) static array, or 1 for other types.
for error message
number of elements, uint.max on overflow
See Implementation
Compute number of elements for a (possibly multidimensional) static array, or 1 for other types.