equal | lauqe
Deep comparison between two values to determine if they are equivalent
🚚 Install
npm i lauqe
or
yarn add lauqe
💫 Usage
equal
provides multi platform modules.
Click to toggle contents of `code` 🦕 Deno
deno.land
import { equal } from "https://deno.land/x/equal/mod.ts";
equal([[[]]], [[[]]]); // true
nest.land
import { equal } from "https://x.nest.land/equal/mod.ts";
equal([[[]]], [[[]]]); // true
Click to toggle contents of `code` 📦 NPM
ESM
import { equal } from "lauqe";
equal([[[]]], [[[]]]); // true
UMD
const { add } = require("lauqe");
equal([[[]]], [[[]]]); // true
Click to toggle contents of `code` 🌐 CDN
ESM
<script type="module">
import { equal } from "https://unpkg.com/lauqe?module";
console.log(equal({}, {})); // true
</script>
UMD
<script src="https://unpkg.com/lauqe"></script>
<script>
console.log(E.equal({}, {})); // true
</script>