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

x/eitherway/lib/core/mod.ts>isEitherwayPanic

Yet Another Option and Result Implementation - providing safe abstractions for fallible flows inspired by F# and Rust
Latest
function isEitherwayPanic
import { isEitherwayPanic } from "https://deno.land/x/eitherway@0.10.0/lib/core/mod.ts";

Use this to narrow an unknown error to a Panic<unknown>

Parameters

err: unknown

Returns

err is Panic<unknown>