import { checkItems } from "https://deno.land/x/valibot@v0.35.0/src/index.ts";
Creates an check items validation action.
Parameters
requirement: ArrayRequirement<TInput>
The validation function.
Returns
CheckItemsAction<TInput, undefined>
An check items action.
Creates an check items validation action.
Type Parameters
TMessage extends ErrorMessage<CheckItemsIssue<TInput>> | undefined
Parameters
requirement: ArrayRequirement<TInput>
The validation function.
message: TMessage
The error message.
Returns
An check items action.