equals method
Leave feedback
On this page
Checks whether the current FileType is the same as the specified FileType object.
def equals(self, other):
...
| Parameter | Type | Description |
|---|---|---|
| other | FileType |
The object to compare with the current FileType. |
Returns: bool: True if both FileType objects are the same; otherwise, False.
Determines whether the current FileType is the same as the specified object.
def equals(self, obj):
...
| Parameter | Type | Description |
|---|---|---|
| obj | Any |
The object to compare with the current FileType object. |
Returns: bool: True if obj is a FileType and is the same as the current FileType; otherwise, False.
- class
FileType
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.