Skip to main content
Module

x/zod/types.ts>ZodSchema#brand

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

Type Parameters

B extends string | number | symbol

Parameters

optional
brand: B

Returns

ZodBranded<this, B>