@essentials/are-equal
TypeScript icon, indicating that this package has built-in type declarations

1.1.0 • Public • Published

@essentials/are-equal

Bundlephobia Types NPM Version MIT License

npm i @essentials/are-equal

Blazing fast strict equality functions

Quick Start

import {areEqual, areEqualObjects, areEqualArrays} from '@essentials/are-equal'

areEqual(['a', 'b'], ['a', 'b'])
// true
areEqual(['a', {}], ['a', {}])
// false
areEqual({}, {})
// true
areEqual({a: 'b'}, {a: 'c'})
// false

LICENSE

MIT

Package Sidebar

Install

npm i @essentials/are-equal

Weekly Downloads

171

Version

1.1.0

License

MIT

Unpacked Size

13.4 kB

Total Files

20

Last publish

Collaborators

  • jaredlunde