import { type CheckActionAsync } from "https://deno.land/x/valibot@v1.0.0-beta.4/src/actions/check/index.ts";
Check action async type.
Type Parameters
TMessage extends ErrorMessage<CheckIssue<TInput>> | undefined
Properties
readonly
requirement: (input: TInput) => MaybePromise<boolean>The validation function.
readonly
message: TMessageThe error message.