fail
import { fail } from "jsr:@ende/assert";function
function fail(msg?: string): neverForcefully throws a failed assertion.
msg?: stringOptional message to include in the error.
Returns
Never returns, always throws.
Example: Usage
import { fail } from "@ende/assert";
fail("Deliberately failed!"); // Throws