std/testing/asserts.ts

Deno standard library
Go to Latest
function assertFalse
import { assertFalse } from "https://deno.land/std@0.145.0/testing/asserts.ts?s=assertFalse";

Make an assertion, error will be thrown if expr have truthy value.

Parameters

expr: unknown[src]
optional
msg
[src]

Returns

asserts expr is false[src]