Skip to main content
Module

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