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

Function isNamedGoObjectSchema

scripts/codegen/go.ts:449–451  ·  view source on GitHub ↗
(schema: JSONSchema7 | undefined)

Source from the content-addressed store, hash-verified

447}
448
449function isNamedGoObjectSchema(schema: JSONSchema7 | undefined): schema is JSONSchema7 {
450 return !!schema && schema.type === "object" && (schema.properties !== undefined || schema.additionalProperties === false);
451}
452
453function getMethodResultSchema(method: RpcMethod): JSONSchema7 | undefined {
454 return resolveSchema(method.result, rpcDefinitions) ?? method.result ?? undefined;

Callers 2

resolveGoPropertyTypeFunction · 0.85
emitGoRpcDefinitionFunction · 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…