cf.AuxiliaryCoordinate.isscalar

AuxiliaryCoordinate.isscalar

True if the data array is scalar.

See also

has_data, ndim

Examples:

>>> f.ndim
0
>>> f.isscalar
True
>>> f.ndim >= 1
True
>>> f.isscalar
False
>>> f.has_data()
False
>>> f.isscalar
False