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

Function get

packages/zod/src/v4/classic/schemas.ts:48–57  ·  view source on GitHub ↗
(this: any)

Source from the content-addressed store, hash-verified

46 configurable: true,
47 enumerable: false,
48 get(this: any) {
49 const bound = fn.bind(this);
50 Object.defineProperty(this, key, {
51 configurable: true,
52 writable: true,
53 enumerable: true,
54 value: bound,
55 });
56 return bound;
57 },
58 set(this: any, v: unknown) {
59 Object.defineProperty(this, key, {
60 configurable: true,

Callers

nothing calls this directly

Calls 1

getMethod · 0.80

Tested by

no test coverage detected