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

x/valibot/src/actions/types.ts>ArrayRequirement

The modular and type safe schema library for validating structural data 🤖
Extremely Popular
Go to Latest
type alias ArrayRequirement
import { type ArrayRequirement } from "https://deno.land/x/valibot@v0.35.0/src/actions/types.ts";

Array requirement type.

Type Parameters

TInput extends readonly unknown[]
definition: (
item: TInput[number],
index: number,
array: TInput,
) => boolean