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