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