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

Method stringNullable

packages/zod/src/v3/tests/Mocker.ts:39–41  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

37 return this.pick(this.string, this.undefined);
38 }
39 get stringNullable(): string | null {
40 return this.pick(this.string, this.null);
41 }
42 get numberOptional(): number | undefined {
43 return this.pick(this.number, this.undefined);
44 }

Callers

nothing calls this directly

Calls 1

pickMethod · 0.65

Tested by

no test coverage detected