(path: string | null | undefined)
| 234 | } |
| 235 | |
| 236 | export function isDatabaseTabPath(path: string | null | undefined): boolean { |
| 237 | return typeof path === 'string' && path.startsWith(DATABASE_TAB_PREFIX) |
| 238 | } |
| 239 | |
| 240 | export function csvPathFromDatabaseTab(path: string | null | undefined): string | null { |
| 241 | if (!path || !isDatabaseTabPath(path)) return null |
no outgoing calls
no test coverage detected