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

x/valibot/src/methods/index.ts>forward

The modular and type safe schema library for validating structural data 🤖
Go to Latest
function forward
import { forward } from "https://deno.land/x/valibot@v0.24.0/src/methods/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

BaseValidation<TInput>

The passed validation.