import { customAsync } from "https://deno.land/x/valibot@v1.0.0-beta.4/src/schemas/index.ts";
Creates a custom schema.
Returns
CustomSchemaAsync<TInput, undefined>
A custom schema.
Creates a custom schema.
Type Parameters
optional
TMessage extends ErrorMessage<CustomIssue> | undefined = ErrorMessage<CustomIssue> | undefinedParameters
message: TMessage
The error message.
Returns
A custom schema.