(path: string)
| 13 | } |
| 14 | |
| 15 | export function getSplatFileExtension(path: string): SplatFileExtension | null { |
| 16 | const lower = path.toLowerCase(); |
| 17 | return SPLAT_FILE_EXTENSIONS.find((extension) => lower.endsWith(extension)) ?? null; |
| 18 | } |
| 19 | |
| 20 | export function isSplatFilePath(path: string): boolean { |
| 21 | return getSplatFileExtension(path) !== null; |
no outgoing calls
no test coverage detected