Skip to main content
Module

x/oak_nest/test_deps.ts>assert

Refer to nestjs to realize some common functions for Deno, support hono and oak
Latest
function assert
import { assert } from "https://deno.land/x/oak_nest@v3.0.1/test_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