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

Function isSchemaExperimental

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

Source from the content-addressed store, hash-verified

624
625/** Returns true when a JSON Schema node is marked as experimental. */
626export function isSchemaExperimental(schema: JSONSchema7 | null | undefined): boolean {
627 return typeof schema === "object" && schema !== null && (schema as Record<string, unknown>).stability === "experimental";
628}
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 {

Callers 15

tryEmitRustUnionFunction · 0.85
emitRustTypeAliasFunction · 0.85
resolveRustTypeFunction · 0.85
emitRustStructFunction · 0.85
extractEventVariantsFunction · 0.85
generateApiTypesCodeFunction · 0.85
generateRpcFunction · 0.85
extractEventVariantsFunction · 0.85
generateDerivedClassFunction · 0.85
generateNestedClassFunction · 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…