isNaN

isNaN(): Boolean;

The isNaN method of the Real primitive type returns true if the value returned by the getFloatingPointClassification method is the constant FP_Classification_NotANumber, which represents the special not a number value.

See also the nan method.