import { instance } from "https://deno.land/x/valibot@v1.0.0-beta.5/src/index.ts";
Creates an instance schema.
Type Parameters
TClass extends Class
Parameters
class_: TClass
The class of the instance.
Returns
InstanceSchema<TClass, undefined>
An instance schema.
Creates an instance schema.
Type Parameters
TClass extends Class
TMessage extends ErrorMessage<InstanceIssue> | undefined
Returns
An instance schema.