cf.Domain.equals

Domain.equals(**kwargs)[source]

Whether two domains are the same.

New in version (cfdm): 1.7.0

Returns

bool

Examples:

>>> d.equals(d)
True
>>> d.equals(d.copy())
True
>>> d.equals('not a domain')
False