import { type refinement } from "https://deno.land/x/fun@v2.0.0/mod.ts";
const { ToIn } = refinement;
The ToIn type takes a Refinement type and returns the type of its input.
definition: T extends Refinement<infer B, infer _> ? B : never
import { type refinement } from "https://deno.land/x/fun@v2.0.0/mod.ts";
const { ToIn } = refinement;
The ToIn type takes a Refinement type and returns the type of its input.