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

x/fsrouter/deps.ts>asserts.assertFalse

A file system based router for Deno.
Go to Latest
function asserts.assertFalse
import { asserts } from "https://deno.land/x/fsrouter@2.11.1/deps.ts";
const { assertFalse } = asserts;

Make an assertion, error will be thrown if expr have truthy value.

Parameters

expr: unknown
optional
msg = [UNSUPPORTED]

Returns

asserts expr is false