Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/bob/deps.ts>assert

A static site generator for the dynamic web - develop with TSX and build with Deno
Go to Latest
function assert
import { assert } from "https://deno.land/x/bob@v1.1.1/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