import { type CheckActionAsync } from "https://deno.land/x/valibot@v0.1.0-to-json-schema/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.