Skip to main content
Module

x/fun/option.ts>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
import { type Option } from "https://deno.land/x/fun@v2.0.0/option.ts";

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