Skip to main content
Module

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

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

Creates an check items validation action.

Parameters

requirement: ArrayRequirement<TInput>

The validation function.

Returns

An check items action.

Creates an check items validation action.

Type Parameters

TInput extends ArrayInput
TMessage extends ErrorMessage<CheckItemsIssue<TInput>> | undefined

Parameters

requirement: ArrayRequirement<TInput>

The validation function.

message: TMessage

The error message.

Returns

An check items action.