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

Function tanstackNavVerb

src/resolution/frameworks/tanstack-router.ts:409–413  ·  view source on GitHub ↗
(name: string)

Source from the content-addressed store, hash-verified

407
408/** The verb a navigation call name stands for, or null. */
409export function tanstackNavVerb(name: string): string | null {
410 if (!NAV_CALL.test(name)) return null;
411 const dot = name.lastIndexOf('.');
412 return dot < 0 ? name : name.slice(dot + 1);
413}
414
415/**
416 * The destination in a TanStack navigation: `{ to: '/posts/$postId' }`.

Callers 2

resolveFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected