import { someItem } from "https://deno.land/x/valibot@v1.0.0-beta.2-to-json-schema/src/actions/someItem/someItem.ts";
Creates a some item validation action.
Type Parameters
TInput extends ArrayInput
Parameters
requirement: ArrayRequirement<TInput>
The validation function.
Returns
SomeItemAction<TInput, undefined>
A some item action.
Creates a some item validation action.
Type Parameters
TInput extends ArrayInput
TMessage extends ErrorMessage<SomeItemIssue<TInput>> | undefined
Parameters
requirement: ArrayRequirement<TInput>
The validation function.
message: TMessage
The error message.
Returns
A some item action.