mirror of
https://github.com/cachix/install-nix-action.git
synced 2024-11-22 08:30:51 +00:00
12 lines
195 B
Markdown
12 lines
195 B
Markdown
|
|
||
|
# Array Equal
|
||
|
|
||
|
Check if two arrays are equal:
|
||
|
|
||
|
```js
|
||
|
var equals = require('array-equal')
|
||
|
|
||
|
assert(equals([1, 2, 3], [1, 2, 3])) // => true
|
||
|
assert(equals([1, 2, 3], [1, 2, 3, 4])) // => false
|
||
|
```
|