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

Function isTanstackRoute

src/resolution/frameworks/tanstack-router.ts:378–380  ·  view source on GitHub ↗

True for a route node this resolver emitted, and no other.

(node: Node)

Source from the content-addressed store, hash-verified

376
377/** True for a route node this resolver emitted, and no other. */
378function isTanstackRoute(node: Node): boolean {
379 return node.id === routeId(node.filePath, node.startLine, node.name);
380}
381
382const tables = new WeakMap<ResolutionContext, TanstackTable>();
383

Callers 2

tanstackTableFunction · 0.85
tanstack-router.tsFile · 0.85

Calls 1

routeIdFunction · 0.70

Tested by

no test coverage detected