Make an assertion, error will be thrown if expr have truthy value.
expr
Optional
24.7.0
import { assertFalse } from "assert";assertFalse(false); // Doesn't throwassertFalse(true); // Throws Copy
import { assertFalse } from "assert";assertFalse(false); // Doesn't throwassertFalse(true); // Throws
Make an assertion, error will be thrown if
expr
have truthy value.