import { custom } from "https://deno.land/x/valibot@v1.0.0-beta.4/src/index.ts";
Creates a custom schema.
Returns
CustomSchema<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.