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

Method clone

packages/zod/src/v4/classic/schemas.ts:101–101  ·  view source on GitHub ↗
(def?: Internals["def"], params?: { parent: boolean })

Source from the content-addressed store, hash-verified

99 check(...checks: (core.CheckFn<core.output<this>> | core.$ZodCheck<core.output<this>>)[]): this;
100 with(...checks: (core.CheckFn<core.output<this>> | core.$ZodCheck<core.output<this>>)[]): this;
101 clone(def?: Internals["def"], params?: { parent: boolean }): this;
102 register<R extends core.$ZodRegistry>(
103 registry: R,
104 ...meta: this extends R["_schema"]

Callers 11

checkFunction · 0.65
cloneFunction · 0.65
describeFunction · 0.65
metaFunction · 0.65
catchallFunction · 0.65
passthroughFunction · 0.65
looseFunction · 0.65
strictFunction · 0.65
stripFunction · 0.65
schemas.tsFile · 0.65
partialRecordFunction · 0.65

Calls

no outgoing calls

Tested by 1

describeFunction · 0.52