Skip to main content
Module

x/functional/mod.ts>IOPrototype

Common Functional Programming Algebraic data types for JavaScript that is compatible with most modern browsers and Deno.
Latest
interface IOPrototype
import { type IOPrototype } from "https://deno.land/x/functional@v1.3.4/mod.ts";

Methods

ap<T extends IOPrototype<Z>>(container: T): this
chain<T extends IOPrototype<Z>, K>(unaryFunction: (value: K) => T): this
map<K, Y>(unaryFunction: (value: K) => Y): this
of<K>(value: K): this
run<K>(): K
toString(): string