import { customAsync } from "https://deno.land/x/valibot@v0.30.0/src/validations/custom/customAsync.ts";
Creates a async custom validation function.
Parameters
requirement: (input: TInput) => Promise<boolean>
The async validation function.
optional
message: ErrorMessageThe error message.
Returns
A async validation action.