Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/fun/schemable.ts>UndefinableSchemable

A collection of algebraic data types, lenses, and schemables based on a light weight higher kinded type implementation. Written for deno.
Latest
interface UndefinableSchemable
implements Hold<U>
import { type UndefinableSchemable } from "https://deno.land/x/fun@v2.0.0/schemable.ts";

Takes a Schemable and returns a Schemable<A | undefined>;

Properties

readonly
undefinable: <A, B, C, D, E>(or: $<U, [A, B, C], [D], [E]>) => $<U, [A | undefined, B, C], [D], [E]>