Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/hex/functions/tests/deps.ts>asserts.assertFalse

An ecosystem delivering practices, philosophy and portability.
Go to Latest
function asserts.assertFalse
import { asserts } from "https://deno.land/x/hex@v0.4.9/functions/tests/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