Module

x/proc/tests/deps/asserts.ts>equal

A better way to work with processes in Deno.
Latest
function equal
import { equal } from "https://dotland.deno.dev/x/proc@0.21.9/tests/deps/asserts.ts";

Deep equality comparison used in assertions

Examples

Example 1

import { equal } from "https://deno.land/std@$STD_VERSION/assert/equal.ts";

equal({ foo: "bar" }, { foo: "bar" }); // Returns `true`
equal({ foo: "bar" }, { foo: "baz" }); // Returns `false

Parameters

c: unknown

actual value

d: unknown

expected value

Returns

boolean
import equal
import { equal } from "https://dotland.deno.dev/x/proc@0.21.9/tests/deps/asserts.ts";