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

Function isNullable

packages/zod/src/v3/types.ts:532–534  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

530 return this.safeParse(undefined).success;
531 }
532 isNullable(): boolean {
533 return this.safeParse(null).success;
534 }
535}
536
537/////////////////////////////////////////

Callers

nothing calls this directly

Calls 1

safeParseMethod · 0.65

Tested by

no test coverage detected