MCPcopy
hub / github.com/colinhacks/zod / describe

Method describe

packages/zod/src/v4/classic/schemas.ts:185–185  ·  view source on GitHub ↗

Returns a new instance that has been registered in `z.globalRegistry` with the specified description

(description: string)

Source from the content-addressed store, hash-verified

183
184 /** Returns a new instance that has been registered in `z.globalRegistry` with the specified description */
185 describe(description: string): this;
186 description?: string;
187 /** Returns the metadata associated with this instance in `z.globalRegistry` */
188 meta(): core.$replace<core.GlobalMeta, this> | undefined;

Callers 8

convertSchemaFunction · 0.80
describeFunction · 0.80
registries.test.tsFile · 0.80

Calls

no outgoing calls

Tested by 1

describeFunction · 0.64