Flash Player 5.
isNaN(
expression
)
expression
A Boolean, variable, or other expression to be evaluated.
A Boolean value.
Top-level function; evaluates the parameter and returns true
if the value is not a number (NaN
), indicating the presence of mathematical errors.
The following code illustrates return values for the isNaN
function.
isNaN("Tree")
// returns true
isNaN(56)
// returnsfalse
isNaN(Number.POSITIVE_INFINITY)
//
returnsfalse