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

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

An ecosystem delivering practices, philosophy and portability.
Go to Latest
function asserts.fail
import { asserts } from "https://deno.land/x/hex@v0.4.9/functions/tests/deps.ts";
const { fail } = asserts;

Forcefully throws a failed assertion

Parameters

optional
msg: string

Returns

never