Skip to main content
Module

x/fun/mod.ts>schemable.UnknownSchemable

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.UnknownSchemable
import { type schemable } from "https://deno.land/x/fun@v2.0.0-alpha.6/mod.ts";
const { UnknownSchemable } = schemable;

Wraps an unknown type in Schemable. This is the best escape hatch when a Schema isn't known ahead of time.

Type Parameters

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