0.2.1 • Published 6 years ago

@rognstadragnar/deep-enough-equals v0.2.1

Weekly downloads
1
License
MIT
Repository
github
Last release
6 years ago

Installation

npm i @rognstadragnar/deep-enough-equals

Usage

import { deepEnoughEquals } from '@rognstadragnar/deep-enough-equals'

const thingA = { some: ['thing'] }
const thingB = { some: ['thing'] }
const thingC = { some: ['other', 'thing'] }

deepEnoughEquals(thingA, thingB)
// > true

deepEnoughEquals(thingA, thingC)
// > false

License

MIT.

0.2.1

6 years ago

0.1.1

6 years ago

0.1.0

6 years ago

0.0.1

6 years ago