Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/value_schema/dist-deno/appliers/converter.ts>Rules

simple, easy-to-use, and declarative input validator; supports Node.js, TypeScript, Deno, and Bun
Go to Latest
interface Rules
import { type Rules } from "https://deno.land/x/value_schema@v4.0.0-rc.2/dist-deno/appliers/converter.ts";

Properties

optional
converter: (value: T, fail: () => never) => T

converter function