Skip to main content
Deno 2 is finally here 🎉️
Learn more
Go to Latest
function assert
import { assert } from "https://deno.land/x/embassyd_sdk@v0.3.4.0.0-alpha2/lib/esm/deps/deno.land/std@0.97.0/testing/asserts.js";

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

Parameters

expr
optional
msg = [UNSUPPORTED]