Skip to main content
Module

x/fun/schemable.ts>NullableSchemable

A collection of algebraic data types, lenses, and schemables based on a light weight higher kinded type implementation. Written for deno.
Go to Latest
type alias NullableSchemable
import { type NullableSchemable } from "https://deno.land/x/fun@v2.0.0-alpha.10/schemable.ts";

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

definition: TypeClass<U> & { readonly nullable: <A, B, C, D, E>(or: $<U, [A, B, C], [D], [E]>) => $<U, [A | null, B, C], [D], [E]>; }