equal | lauqe
Deep comparison between two values to determine if they are equivalent
:truck: Install
npm i lauqe
or
yarn add lauqe
💫 Usage
equal
provides multi platform modules.
🦕 Deno
Click to toggle contents of `code`
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
:package: NPM
Click to toggle contents of `code`
ESM
import { equal } from "lauqe";
equal([[[]]], [[[]]]); // true
UMD
const { add } = require("lauqe");
equal([[[]]], [[[]]]); // true
:globe_with_meridians: CDN
Click to toggle contents of `code`
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>