JSPM

are-shallow-equal

1.0.0
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 1205
  • Score
    100M100P100Q115872F
  • License MIT

Check if two values are shallowly equal to each other.

Package Exports

  • are-shallow-equal

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 (are-shallow-equal) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

Are Shallow Equal

Check if two values are shallowly equal to each other.

Install

npm install --save are-shallow-equal

Usage

import areShallowEqual from 'are-shallow-equal';

areShallowEqual ( 123, 123 ); // true
areShallowEqual ( { foo: 1 }, { foo: 1 } ); // true
areShallowEqual ( [1, 2, 3], [1, 2, 3] ); // true

License

MIT © Fabio Spampinato