In Typescript, this shows an error saying isNaN accepts only numeric values
isNaN(\'9BX46B6A\')
and this returns false because parseF
parseF
function isNumber(value: string | number): boolean { return ((value != null) && (value !== '') && !isNaN(Number(value.toString()))); }