MCPcopy
hub / github.com/colbymchenry/codegraph / kindOf

Function kindOf

__tests__/ts-field-classification.test.ts:63–64  ·  view source on GitHub ↗
(name: string)

Source from the content-addressed store, hash-verified

61 await cg.indexAll();
62
63 const kindOf = (name: string) =>
64 cg.getNodesByName(name).map((n) => n.kind).sort().join(',');
65
66 expect(kindOf('fonts')).toBe('property');
67 expect(kindOf('history')).toBe('property');

Callers 1

Calls 2

joinMethod · 0.80
getNodesByNameMethod · 0.65

Tested by

no test coverage detected