Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/redis/vendor/https/deno.land/std/assert/mod.ts>unreachable

🦕 Redis client for Deno 🍕
Very Popular
Go to Latest
function unreachable
import { unreachable } from "https://deno.land/x/redis@v0.32.1/vendor/https/deno.land/std/assert/mod.ts";

Use this to assert unreachable code.

Examples

Example 1

import { unreachable } from "https://deno.land/std@0.224.0/assert/unreachable.ts";

unreachable(); // Throws

Returns

never