JavaScript: The Definitive Guide

24.92. isFinite( ): determine whether a number is finite

ECMAScript v1

24.92.1. Synopsis

isFinite(n)

24.92.1.1. Arguments

n

The number to be tested.

24.92.1.2. Returns

true if n is (or can be converted to) a finite number, or false if n is NaN (not a number) or positive or negative infinity.

24.92.2. See Also

Infinity, isNaN( ), NaN, Number.NaN, Number.NEGATIVE_INFINITY, Number.POSITIVE_INFINITY

Категории