> For the complete documentation index, see [llms.txt](https://polux.gitbook.io/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://polux.gitbook.io/docs/objects/compare-objects.md).

# \_.compareObjects

Checks if the defined objects are equal

### \_.compareObjects(objects)

> **Parameters:**

* **objects \[objects or array of objects]:** <mark style="color:yellow;">`the objects to be compared`</mark>

> **Example**:

```javascript
_.compareObjects({name: 'drezzy'}, {name: 'drezzy'})
// => true
_.compareObjects({name: 'drezzy'}, {name: 'kau'})
// => false
```
