equals method

On this page

equals

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

def equals(self, other):
    ...
Parameter Type Description
other PropertyTag An object to compare with this object.

Returns: bool: True if the current object is equal to the other parameter; otherwise, False.

equals

Determines whether the specified object is equal to the current object.

def equals(self, obj):
    ...
Parameter Type Description
obj Any The object to compare with the current object.

Returns: bool: True if the specified object is equal to the current object; otherwise, False.

See Also

On this page