import { equal } from "https://deno.land/std@0.223.0/assert/equal.ts";
Deep equality comparison used in assertions
Examples
Example 1
Example 1
import { equal } from "https://deno.land/std@0.223.0/assert/equal.ts";
equal({ foo: "bar" }, { foo: "bar" }); // Returns `true`
equal({ foo: "bar" }, { foo: "baz" }); // Returns `false