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

Method meta

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

Returns the metadata associated with this instance in `z.globalRegistry`

()

Source from the content-addressed store, hash-verified

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

Callers 7

metaFunction · 0.80
elementsFunction · 0.80
registries.test.tsFile · 0.80

Calls

no outgoing calls

Tested by 2

metaFunction · 0.64
elementsFunction · 0.64