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

x/value_schema/dist-deno/appliers/string/pattern.ts>applyTo

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

apply schema

Parameters

values: Values

input/output values

rules: Rules

rules

keyStack: Key[]

key stack for error handling

Returns

values is Values<string>

escapes from applyTo chain or not