Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Latest
function assert
import { assert } from "https://deno.land/x/deno_proxy@v1.4.1/test_deps.ts";

Make an assertion, error will be thrown if expr does not have truthy value.

Parameters

expr: unknown
optional
msg = [UNSUPPORTED]

Returns

asserts expr