(name: string)
| 328 | |
| 329 | /** The verb a navigation call name stands for, or null. */ |
| 330 | export 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' }`. |
no outgoing calls
no test coverage detected