@rognstadragnar/deep-enough-equals
v0.2.1
Published
Check if to things are equal-ish
Readme
Installation
npm i @rognstadragnar/deep-enough-equalsUsage
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)
// > falseLicense
MIT.
