Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/valibot/src/index.ts>forward

The modular and type safe schema library for validating structural data 🤖
Extremely Popular
Go to Latest
function forward
import { forward } from "https://deno.land/x/valibot@v0.22.0/src/index.ts";

Forwards the issues of the passed validation.

Type Parameters

TInput extends unknown[] | Record<string, unknown>

Parameters

validation: BaseValidation<TInput>

The validation.

pathList: PathList<TInput>

The path list.

Returns

The passed validation.