MCPcopy Index your code
hub / github.com/github/copilot-sdk / isPyNullLikeSchema

Function isPyNullLikeSchema

scripts/codegen/python.ts:1737–1740  ·  view source on GitHub ↗
(schema: JSONSchema7)

Source from the content-addressed store, hash-verified

1735}
1736
1737function isPyNullLikeSchema(schema: JSONSchema7): boolean {
1738 return schema.type === "null" ||
1739 (typeof schema.not === "object" && schema.not !== null && Object.keys(schema.not).length === 0);
1740}
1741
1742function getPyNamedSchemaType(
1743 schema: JSONSchema7,

Callers 3

isPyDurationPropertyFunction · 0.85
resolvePyNamedUnionFunction · 0.85
resolvePyPropertyTypeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…