Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

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

🦕 Redis client for Deno 🍕
Very Popular
Latest
function unreachable
import { unreachable } from "https://deno.land/x/redis@v0.32.4/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

Parameters

optional
reason: string

Returns

never