Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
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.
Latest
interface schemable.NullableSchemable
implements Hold<U>
import { type schemable } from "https://deno.land/x/fun@v2.0.0/mod.ts";
const { NullableSchemable } = schemable;

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

Type Parameters

U extends Kind

Properties

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