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

x/dtils/deps.ts>asserts.fail

The best unofficial library of utilities for Deno applications
Go to Latest
function asserts.fail
import { asserts } from "https://deno.land/x/dtils@2.2.0/deps.ts";
const { fail } = asserts;

Forcefully throws a failed assertion

Parameters

optional
msg: string

Returns

never