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

x/hex/src/formatters/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@0.5.15/src/formatters/tests/deps.ts";
const { fail } = asserts;

Forcefully throws a failed assertion

Parameters

optional
msg: string

Returns

never