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

x/valibot/mod.ts>SomeValidation

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

Some validation type.

Type Parameters

TInput extends any[]

Properties

type: "some"

The validation type.

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

The validation function.