Skip to main content
Module

x/bcdeno_api/dev_deps.ts>assert

🎲 Use BCDice-API from Deno easily
Latest
function assert
import { assert } from "https://deno.land/x/bcdeno_api@v1.1.1/dev_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