Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/fun/refinement.ts>ToIn

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

The ToIn type takes a Refinement type and returns the type of its input.

definition: T extends Refinement<infer B, infer _> ? B : never