x/velociraptor/dev_deps.ts

The npm-style script runner for Deno
Latest
function assertEquals
import { assertEquals } from "https://deno.land/x/velociraptor@1.5.0/dev_deps.ts?s=assertEquals";

Make an assertion that actual and expected are equal, deeply. If not deeply equal, then throw.

Type parameter can be specified to ensure values under comparison have the same type. For example:

assertEquals<number>(1, 2)

Parameters

actual: unknown[src]
expected: unknown[src]
optional
msg: string
[src]

Parameters

actual: T[src]
expected: T[src]
optional
msg: string
[src]