
## compare_to(obj) {#object}

Compares the specified object to the current object.


```python
def compare_to(self, obj: object):
    ...
```

| Parameter | Type | Description |
| --- | --- | --- |
| obj | object |  |

## compare_to(other) {#list}

Compares the specified list to the current list.


```python
def compare_to(self, other: aspose.words.lists.List):
    ...
```

| Parameter | Type | Description |
| --- | --- | --- |
| other | [List](../) |  |

## See Also

* module [aspose.words.lists](../../)
* class [List](../)

