(value: unknown)
| 34 | } |
| 35 | |
| 36 | function asString(value: unknown): string { |
| 37 | if (typeof value === 'string') |
| 38 | return value |
| 39 | if (typeof value === 'number' || typeof value === 'boolean') |
| 40 | return String(value) |
| 41 | return '' |
| 42 | } |
| 43 | |
| 44 | function isYamlFile(file: HttpImportFile): boolean { |
| 45 | const name = file.name.toLowerCase() |
no outgoing calls
no test coverage detected