Skip to main content
Module

std/testing/asserts.ts>equal

Deno standard library
Go to Latest
The Standard Library has been moved to JSR. See the blog post for details.
function equal
Re-export
import { equal } from "https://deno.land/std@0.201.0/testing/asserts.ts";

Deep equality comparison used in assertions

Parameters

c: unknown

actual value

d: unknown

expected value

Returns

boolean