Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/dtils/deps.ts>asserts.unreachable

The best unofficial library of utilities for Deno applications
Go to Latest
function asserts.unreachable
import { asserts } from "https://deno.land/x/dtils@1.6.1/deps.ts";
const { unreachable } = asserts;

Use this to assert unreachable code.

Returns

never