isNaN(x)

How to check for numeric values and non-numeric - try isNaN(x).

NaN being short for Not a Number: