import { instanceAsync } from "https://deno.land/x/valibot@v0.28.1/src/schemas/instance/index.ts";
Creates an async instance schema.
Type Parameters
TClass extends Class
Returns
An async instance schema.
Creates an async instance schema.
Type Parameters
TClass extends Class
Parameters
class_: TClass
The class of the instance.
optional
message: ErrorMessageThe error message.
Returns
An async instance schema.