Skip to main content
Module

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

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

Type Parameters

B extends string | number | symbol

Parameters

optional
brand: B