(num: T)
| 4 | import { isAcceptedExtension } from './util'; |
| 5 | |
| 6 | const isNumeric = <T>(num: T): boolean => |
| 7 | (typeof num === 'number' || (typeof num === 'string' && num.trim() !== '')) && |
| 8 | !Number.isNaN(Number(num)); |
| 9 | |
| 10 | export const validateFontFilename = (file: string, metadata: IDResponse) => { |
| 11 | const [filename, extension] = file.split('.'); |
no outgoing calls
no test coverage detected