Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/zod/mod.ts>z.ZodSchema#and

TypeScript-first schema validation with static type inference
Extremely Popular
Go to Latest
method z.ZodSchema.prototype.and
import { z } from "https://deno.land/x/zod@v3.20.1/mod.ts";
const { ZodSchema } = z;

Type Parameters

T extends ZodTypeAny

Parameters

incoming: T

Returns

ZodIntersection<this, T>