abstract-strict-deep-equal
v1.0.2
Published
A helper function to calculate deep equality using abstract(==) or strict(===) method. (~333B)
Downloads
19
Maintainers
Readme
Abstract Strict Deep Equal
An incredibly LIGHT helper function to calculate deep equality using abstract(==) or strict(===) method.
Instalation
$ yarn add abstract-strict-deep-equal
or
$ npm install --save abstract-strict-deep-equal
Usage
import deepEqual from "abstract-strict-deep-equal";
deepEqual({ a: "1" }, { a: 1 }); // It will returns true
deepEqual({ a: "1" }, { a: 1 }, true); // It will returns false
Demo
https://codesandbox.io/s/javascript-forked-xm92g?file=/index.js