Skip to main content
Module

x/fun/mod.ts>schemable.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 schemable.NullableSchemable
import { type schemable } from "https://deno.land/x/fun@v.2.0.0-alpha.11/mod.ts";
const { NullableSchemable } = schemable;

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

Type Parameters

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