import { checkItemsAsync } from "https://deno.land/x/valibot@v1.0.0-beta.2-to-json-schema/src/actions/checkItems/checkItemsAsync.ts";
Creates a check items validation action.
Type Parameters
TInput extends ArrayInput
Parameters
requirement: ArrayRequirementAsync<TInput>
The validation function.
Returns
CheckItemsActionAsync<TInput, undefined>
A check items action.
Creates a check items validation action.
Type Parameters
TInput extends ArrayInput
TMessage extends ErrorMessage<CheckItemsIssue<TInput>> | undefined
Parameters
requirement: ArrayRequirementAsync<TInput>
The validation function.
message: TMessage
The error message.
Returns
A check items action.