Export (0) Print
Expand All

isFinite Function (JavaScript)

Determines whether a supplied number is finite.

isFinite(number) 

The required number argument is any numeric value.

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

Supported in the following document modes: Quirks, Internet Explorer 6 standards, Internet Explorer 7 standards, Internet Explorer 8 standards, Internet Explorer 9 standards, Internet Explorer 10 standards, Internet Explorer 11 standards. Also supported in Store apps (Windows 8 and Windows Phone 8.1). See Version Information.

Applies To: Global Object (JavaScript)

Show:
© 2015 Microsoft