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

Function isIntegerSchemaBoundedToInt32

scripts/codegen/utils.ts:481–488  ·  view source on GitHub ↗
(schema: JSONSchema7)

Source from the content-addressed store, hash-verified

479}
480
481export function isIntegerSchemaBoundedToInt32(schema: JSONSchema7): boolean {
482 return (
483 isIntegerValue(schema.minimum) &&
484 isIntegerValue(schema.maximum) &&
485 schema.minimum >= INT32_MIN &&
486 schema.maximum <= INT32_MAX
487 );
488}
489
490export function stableStringify(value: unknown): string {
491 if (Array.isArray(value)) {

Callers 5

resolveRustTypeFunction · 0.85
schemaTypeToCSharpFunction · 0.85
resolveGoPropertyTypeFunction · 0.85
goPrimitiveSchemaGoTypeFunction · 0.85

Calls 1

isIntegerValueFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…