> 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/arrays/compare-arrays.md).

# \_.compareArrays

Checks if the defined arrays are equal

### \_.compareArrays(arrays)

> **Parameters:**

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

> **Example**:

```javascript
_.compareArrays([1,2,3],[1,2,3])
// => true
_.compareArrays([2,3],[1,2,3])
// => false
```
