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

x/valibot/mod.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.28.1/mod.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.