Skip to main content
Module

x/fun/mod.ts>option.Option

A collection of algebraic data types, lenses, and schemables based on a light weight higher kinded type implementation. Written for deno.
Latest
type alias option.Option
import { type option } from "https://deno.land/x/fun@v2.0.0/mod.ts";
const { Option } = option;

The Option represents a type A that may or may not exist. It's the functional progamming equivalent of A | undefined | null.

definition: Some<A> | None