(value: unknown)
| 44 | } |
| 45 | |
| 46 | function asString(value: unknown): string { |
| 47 | if (typeof value === 'string') |
| 48 | return value |
| 49 | if (typeof value === 'number' || typeof value === 'boolean') |
| 50 | return String(value) |
| 51 | return '' |
| 52 | } |
| 53 | |
| 54 | function isImportableFile(file: HttpImportFile): boolean { |
| 55 | const name = file.name.toLowerCase() |
no outgoing calls
no test coverage detected