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

Function isTanstackRoute

src/resolution/frameworks/tanstack-router.ts:299–301  ·  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

297
298/** True for a route node this resolver emitted, and no other. */
299function isTanstackRoute(node: Node): boolean {
300 return node.id === routeId(node.filePath, node.startLine, node.name);
301}
302
303const tables = new WeakMap<ResolutionContext, TanstackTable>();
304

Callers 2

tanstackTableFunction · 0.85
tanstack-router.tsFile · 0.85

Calls 1

routeIdFunction · 0.70

Tested by

no test coverage detected