How to See If Data is Numeric or Non-numeric
In JavaScript you can use isNaN to check if the given data is numeric ornon-numeric.Syntax : isNaN(testdata)ReturnValue :True if the testdata is non-numeric.False if the testdata is numeric.Here’s an example: