Skip to main content
Module

x/scaffold/src/deps/std.ts>assert

scaffold your next project with style and 💗
Latest
function assert
import { assert } from "https://deno.land/x/scaffold@0.3.0/src/deps/std.ts";

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

Parameters

expr: unknown
optional
msg = [UNSUPPORTED]

Returns

asserts expr