Skip to main content
Module

x/zod/types.ts>Schema#brand

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

Type Parameters

B extends string | number | symbol

Parameters

optional
brand: B

Returns

ZodBranded<this, B>