import { check } from "https://deno.land/x/valibot@v1.0.0-beta.7/src/index.ts";
Creates a check validation action.
Parameters
requirement: (input: TInput) => boolean
The validation function.
Returns
CheckAction<TInput, undefined>
A check action.
Creates a check validation action.
Type Parameters
TMessage extends ErrorMessage<CheckIssue<TInput>> | undefined
Returns
A check action.