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

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

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

Type Parameters

B extends string | number | symbol

Parameters

optional
brand: B