(ext: string)
| 65 | * @param ext File extension (with or without leading dot) |
| 66 | */ |
| 67 | export function isPDFExtension(ext: string): boolean { |
| 68 | const normalized = ext.startsWith('.') ? ext.slice(1) : ext |
| 69 | return DOCUMENT_EXTENSIONS.has(normalized.toLowerCase()) |
| 70 | } |
no test coverage detected