not-so-shallow
A less shallow
only-shallow
This is just only-shallow
but with strict equality for value types.
Install
$ npm install --save not-so-shallow
Usage
let notSoShallow = // false // false // true // true
API
notSoShallow(a, b)
Returns true
if a
and b
are the same according to the algorithm, which is
explained in the comments of index.js
.
License
MIT © Juan Soto