import { customAsync } from "https://deno.land/x/valibot@v0.28.1/src/validations/custom/index.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 function.