isFinite Method (Windows Scripting - JScript)

 

Returns a Boolean value that indicates if a supplied number is finite.

Syntax

isFinite(number) 

Remarks

The required number argument is any numeric value.

The isFinite method returns true if number is any value other than NaN, negative infinity, or positive infinity. In those three cases, it returns false.

Requirements

Version 3

Applies To: Global Object (Windows Scripting - JScript)

See Also

isNaN Method (Windows Scripting - JScript)