Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/zod/mod.ts>instanceof

TypeScript-first schema validation with static type inference
Very Popular
Go to Latest
variable instanceof
import { instanceof } from "https://deno.land/x/zod@v3.17.3/mod.ts";

type

<T extends new (...args: any[]) => any>(cls: T, params?: Parameters<ZodTypeAny["refine"]>[1]) => unknown