MCPcopy Create free account
hub / github.com/colbymchenry/codegraph / kindOf

Function kindOf

__tests__/extraction.test.ts:2085–2085  ·  view source on GitHub ↗
(name: string)

Source from the content-addressed store, hash-verified

2083`;
2084 const result = extractFromSource('Records.cs', code);
2085 const kindOf = (name: string) => result.nodes.find((n) => n.name === name)?.kind;
2086
2087 expect(kindOf('SimplePositional')).toBe('class');
2088 expect(kindOf('WithBody')).toBe('class');

Callers 1

extraction.test.tsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected