equals method
equals
Compares this underline annotation with another underline annotation.
def equals(self, other):
...
| Parameter | Type | Description |
|---|---|---|
| other | UnderlineAnnotation |
The UnderlineAnnotation object to compare with the current object. |
Returns: bool: True if the annotations are equal; otherwise False.
equals
Compares underline annotation using the standard object Equals method.
def equals(self, obj):
...
| Parameter | Type | Description |
|---|---|---|
| obj | Any |
The object to compare with the current object. |
See Also
- class
UnderlineAnnotation