equals method

equals(self, other)

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 groupdocs.metadata.formats.image.RawRational An object to compare with this object.

equals(, rational, other)

Compares a pair of RawRational numbers.

Returns

true if the objects are equal; otherwise, false.


@staticmethod
def equals(rational, other):
    ...
Parameter Type Description
rational groupdocs.metadata.formats.image.RawRational A rational number.
other groupdocs.metadata.formats.image.RawRational Another rational number.

See Also