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

x/gauntlet/imports/tmonad.ts>Ok

Work-in-progress front-end tool which does put a smile on my face
Latest
interface Ok
implements ResultOps<T, E>
import { type Ok } from "https://deno.land/x/gauntlet@v0.0.9/imports/tmonad.ts";

Properties

type: ResultType.OK

Type

Methods

extract(): T

Get the value from the result (can be the Ok value or the Err value

function Ok
import { Ok } from "https://deno.land/x/gauntlet@v0.0.9/imports/tmonad.ts";

Ok object