MCPcopy
hub / github.com/TanStack/router / has

Method has

packages/router-generator/src/utils.ts:78–80  ·  view source on GitHub ↗

* Check if a route exists at the given path.

(routePath: string)

Source from the content-addressed store, hash-verified

76 * Check if a route exists at the given path.
77 */
78 has(routePath: string): boolean {
79 return this.prefixToRoute.has(routePath)
80 }
81
82 /**
83 * Get a route by exact path.

Callers 15

CallExpressionFunction · 0.45
isCreateRouteFunctionFunction · 0.45
RouterCoreClass · 0.45
isDangerousProtocolFunction · 0.45
uniqByFunction · 0.45
enqueueIntentPreloadFunction · 0.45
router.test.tsxFile · 0.45
generatorInternalMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected