import { type refinement } from "https://deno.land/x/fun@v2.0.0/mod.ts";
const { Refinement } = refinement;
The refinement type is a function that returns a boolean indicating that a value satisfies a type.
Type Parameters
B extends A
x/fun/mod.ts>refinement.Refinement
import { type refinement } from "https://deno.land/x/fun@v2.0.0/mod.ts";
const { Refinement } = refinement;
The refinement type is a function that returns a boolean indicating that a value satisfies a type.