Make an assertion, error will be thrown if expr have truthy value.
expr
The expression to test.
The optional message to display if the assertion fails.
import { assertFalse } from "@std/assert";assertFalse(false); // Doesn't throwassertFalse(true); // Throws Copy
import { assertFalse } from "@std/assert";assertFalse(false); // Doesn't throwassertFalse(true); // Throws
Make an assertion, error will be thrown if
exprhave truthy value.