equals method

equals

Indicates whether the current object is equal to another object of the same type.

Returns

true if the current object is equal to the other parameter; otherwise, false.

def equals(self, other):
    ...
ParameterTypeDescription
otherMimeTypeAn object to compare with this object.

See Also