Skip to main content
Module

x/oak_nest/deps.ts>assert

Refer to nestjs to realize some common functions for Deno
Go to Latest
function assert
import { assert } from "https://deno.land/x/oak_nest@v1.13.18/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