MCPcopy Index your code
hub / github.com/glideapps/quicktype / lookupProperty

Function lookupProperty

src/JSONSchemaInput.ts:72–75  ·  view source on GitHub ↗
(schema: StringMap, name: string)

Source from the content-addressed store, hash-verified

70}
71
72function lookupProperty(schema: StringMap, name: string): StringMap {
73 const properties = checkStringMap(schema.properties);
74 return checkStringMap(properties[name]);
75}
76
77function indexArray(cases: any, index: number): StringMap {
78 if (!Array.isArray(cases)) {

Callers 1

lookupRefFunction · 0.85

Calls 1

checkStringMapFunction · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…