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

Function isSchemaInternal

scripts/codegen/utils.ts:631–633  ·  view source on GitHub ↗
(schema: JSONSchema7 | null | undefined)

Source from the content-addressed store, hash-verified

629
630/** Returns true when a JSON Schema node is marked as visibility:"internal" (set via `.asInternal()` on the Zod source). */
631export function isSchemaInternal(schema: JSONSchema7 | null | undefined): boolean {
632 return typeof schema === "object" && schema !== null && (schema as Record<string, unknown>).visibility === "internal";
633}
634
635/**
636 * Collects the set of definition names marked `visibility: "internal"` and a

Callers 14

emitRustTypeAliasFunction · 0.85
emitRustStructFunction · 0.85
methodUsesInternalSchemaFunction · 0.85
generateNestedClassFunction · 0.85
generateDataClassFunction · 0.85
visitFunction · 0.85
pushGoFieldMarkersFunction · 0.85
pushPyFieldMarkersFunction · 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…