strict-array-equals
v1.3.1
Published
Shallow check two arrays for strict equality
Downloads
5
Readme
strict-array-equals
Shallow check two arrays for strict equality
Installation
npm install --save strict-array-equals
Usage
const strictArrayEquals = require('strict-array-equals');
strictArrayEquals(['a', 23], ['a', 23]); // true
strictArrayEquals(['a', 23], [23, 'a']); // false
strictArrayEquals(['a', 23], [42]); // false