Skip to main content
Module

x/value_schema/dist-deno/appliers/only.ts>applyTo

simple, easy-to-use, and declarative input validator; supports Node.js, TypeScript, Deno, and Bun
Latest
function applyTo
import { applyTo } from "https://deno.land/x/value_schema@v4.0.0/dist-deno/appliers/only.ts";

apply schema

Parameters

values: Values

input/output values

rules: Rules<T>

rules

keyStack: Key[]

key stack for error handling

Returns

values is Values<T>

escapes from applyTo chain or not