import { type CheckActionAsync } from "https://deno.land/x/valibot@v1.0.0-beta.7/src/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.