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

Function tanstackNavVerb

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

Source from the content-addressed store, hash-verified

328
329/** The verb a navigation call name stands for, or null. */
330export function tanstackNavVerb(name: string): string | null {
331 if (!NAV_CALL.test(name)) return null;
332 const dot = name.lastIndexOf('.');
333 return dot < 0 ? name : name.slice(dot + 1);
334}
335
336/**
337 * The destination in a TanStack navigation: `{ to: '/posts/$postId' }`.

Callers 2

resolveFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected