equals method

equals

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

Returns

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

def equals(self, other):
    ...
ParameterTypeDescription
otherUnitTypeThe UnitType to compare with this instance.

See Also