JSPM

strict-array-equals

2.0.0
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • 0
  • Score
    100M100P100Q38716F
  • License MIT

Shallow check two arrays for strict equality

Package Exports

  • strict-array-equals

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (strict-array-equals) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

strict-array-equals

Shallow check two arrays for strict equality

Installation

npm install --save strict-array-equals

Usage

let strictArrayEquals = require('strict-array-equals');

strictArrayEquals(['a', 23], ['a', 23]);  // true
strictArrayEquals(['a', 23], [23, 'a']);  // false
strictArrayEquals(['a', 23], [42]); // false