cf.DimensionCoordinate.isscalar

DimensionCoordinate.isscalar

True if the data array is scalar.

See also

hasdata, ndim

Examples:
>>> f.ndim
0
>>> f.isscalar
True
>>> f.ndim >= 1
True
>>> f.isscalar
False
>>> f.hasdata
False
>>> f.isscalar
False