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

x/valibot/src/actions/index.ts>ArgsAction

The modular and type safe schema library for validating structural data 🤖
Latest
interface ArgsAction
implements BaseTransformation<TInput, (...args: InferInput<TSchema>) => ReturnType<TInput>, never>
import { type ArgsAction } from "https://deno.land/x/valibot@v1.0.0-beta.5/src/actions/index.ts";

Args action type.

Type Parameters

TInput extends (...args: any[]) => unknown
TSchema extends Schema

Properties

readonly
type: "args"

The action type.

readonly
reference: args

The action reference.

readonly
schema: TSchema

The arguments schema.