Example
The following are examples of return values for
isFinite(56)
// returns true
isFinite(Number.POSITIVE_INFINITY)
// returns false
isNaN()
Availability
Flash Player 5.
Usage
isNaN(expression)
Parameters
A Boolean, variable, or other expression to be evaluated.
expression
Returns
A Boolean value.
Description
Function; evaluates the parameter and returns
the presence of mathematical errors.
Example
The following code illustrates return values for the
isNaN("Tree")
// returns true
isNaN(56)
// returns false
isNaN(Number.POSITIVE_INFINITY)
// returns false
See also
,
NaN
Number.NaN
:
isFinite
if the value is not a number (
true
function.
isNaN
), indicating
NaN
isNaN()
407
Need help?
Do you have a question about the FLASH MX 2004 - ACTIONSCRIPT and is the answer not in the manual?