cf.DomainAxis.has_size¶
-
DomainAxis.
has_size
()[source]¶ Whether the size has been set.
New in version (cfdm): 1.7.0
- Returns
bool
True if the size has been set, otherwise False.
Examples:
>>> d = cf.DomainAxis(size=50) >>> d.has_size() True >>> d.get_size() 50
>>> d.set_size(100) >>> d.get_size() 100 >>> d.del_size() 100 >>> d.has_size() False >>> print(d.del_size(None)) None