Skip to main content
Module

std/node/assert.ts>fail

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

Forcefully throws a failed assertion

Parameters

optional
msg: string