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):
    ...
Parameter Type Description
other TiffSRational An object to compare with this object.

equals

Compares pair of TiffSRational.

Returns

true if objects are equal; otherwise false.

def equals(self, rational, other):
    ...
Parameter Type Description
rational TiffSRational Comparing item.
other TiffSRational Other item.

See Also