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

Function isVoidSchema

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

Source from the content-addressed store, hash-verified

407 * but should be treated as void in other languages.
408 */
409export function isVoidSchema(schema: JSONSchema7 | null | undefined): boolean {
410 if (!schema) return true;
411 return schema.type === "null";
412}
413
414/**
415 * If the schema is a nullable anyOf (anyOf: [nullLike, T] or [T, nullLike]),

Callers 15

rustRpcResultDescriptionFunction · 0.85
generateApiTypesCodeFunction · 0.85
getResultTypeNameFunction · 0.85
rpcResultDescriptionFunction · 0.85
tsResultTypeFunction · 0.85
generateRpcFunction · 0.85
rpcResultDescriptionFunction · 0.85
handlerTaskTypeFunction · 0.85
resultTaskTypeFunction · 0.85
emitServerInstanceMethodFunction · 0.85
emitSessionMethodFunction · 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…