Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

std/node/assert.ts>fail

Deno standard library
Go to Latest
function fail
Re-export
import { fail } from "https://deno.land/std@0.85.0/node/assert.ts";

Forcefully throws a failed assertion

Parameters

optional
msg: string