Skip to main content
Module

x/drash/tests/deps.ts>assert

A microframework for Deno's HTTP server with zero third-party dependencies
Go to Latest
function assert
import { assert } from "https://deno.land/x/drash@v2.7.0/tests/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