equals method

On this page

equals

Determines whether this instance is equal to the specified Image2DFormat instance.

def equals(self, other):
    ...
Parameter Type Description
other Image2DFormat Other Image2DFormat instance to check on equality with this.

Returns: bool: True if are equal, False if are unequal.

equals

Determines whether this instance is equal to the specified object, which is presumed to be another Image2DFormat instance.

def equals(self, obj):
    ...
Parameter Type Description
obj Any Other Any instance, which is presumed to be of type Image2DFormat, to check for equality with this instance.

Returns: bool: True if equal, False otherwise.

See Also

On this page