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

x/ahh/src/result/mod.ts>Result

Idiomatic type-safety structures for TypeScript.
Go to Latest
type alias Result
import { type Result } from "https://deno.land/x/ahh@v0.10.0/src/result/mod.ts";

Represents a value that is either successful (Ok) or erroneous (Err).

Type Parameters

T
E extends Error
definition: Err<E> | Ok<T>