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://dotland.deno.dev/x/zod@v3.22.4/types.ts";

Type Parameters

B extends string | number | symbol

Parameters

optional
brand: B