import { instanceAsync } from "https://deno.land/x/valibot@v0.19.0/src/schemas/instance/instanceAsync.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
of: TClass
The class of the instance.
optional
error: ErrorMessageThe error message.
Returns
An async instance schema.