import { everyItem } from "https://deno.land/x/valibot@v0.37.0/src/actions/everyItem/index.ts";
Creates an every item validation action.
Type Parameters
TInput extends ArrayInput
Parameters
requirement: ArrayRequirement<TInput>
The validation function.
Returns
EveryItemAction<TInput, undefined>
An every item action.
Creates an every item validation action.
Type Parameters
TInput extends ArrayInput
TMessage extends ErrorMessage<EveryItemIssue<TInput>> | undefined
Parameters
requirement: ArrayRequirement<TInput>
The validation function.
message: TMessage
The error message.
Returns
An every item action.