equals method
Leave feedback
On this page
Determines whether two object instances are equal.
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.
Determines whether two object instances are equal.
def equals(self, other):
...
| Parameter | Type | Description |
|---|---|---|
| other | Enumeration |
The object to compare with the current object. |
Returns: bool: True if the specified object is equal to the current object; otherwise, False.
- class
Enumeration
Was this page helpful?
Any additional feedback you'd like to share with us?
Please tell us how we can improve this page.
Thank you for your feedback!
We value your opinion. Your feedback will help us improve our documentation.