Use this to assert unreachable code.
Optional
Optional message to include in the error.
Never returns, always throws.
import { unreachable } from "@std/assert";unreachable(); // Throws Copy
import { unreachable } from "@std/assert";unreachable(); // Throws
Use this to assert unreachable code.