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

x/valibot/src/validations/every/index.ts>EveryValidation

The modular and type safe schema library for validating structural data 🤖
Extremely Popular
Go to Latest
interface EveryValidation
implements BaseValidation<TInput>
import { type EveryValidation } from "https://deno.land/x/valibot@v0.30.0/src/validations/every/index.ts";

Every validation type.

Type Parameters

TInput extends any[]

Properties

type: "every"

The validation type.

requirement: (
element: TInput[number],
index: number,
array: TInput[number][],
) => boolean

The validation function.