equals method

equals

Determines whether the specified Unit, is equal to this instance.

Returns

true if the specified Unit is equal to this instance; otherwise, false.

def equals(self, other):
    ...
ParameterTypeDescription
otherUnitThe Unit to compare with this instance.

See Also