Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/zod/index.ts>z.instanceof

TypeScript-first schema validation with static type inference
Extremely Popular
Go to Latest
variable z.instanceof
import { z } from "https://deno.land/x/zod@v3.19.0/index.ts";
const { instanceof } = z;

type

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