Skip to main content
Module

x/fun/monoid.ts>TypeOf

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

A type level extractor, used to pull the inner type from a Monoid.

definition: T extends Monoid<infer A> ? A : never