Team LiB   Previous Section   Next Section
isFinite( ) determine whether a number is finite

Availability

JavaScript 1.2; JScript 3.0; ECMAScript v1

Synopsis

isFinite(n) 

Arguments

n

The number to be tested.

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.

See Also

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

    Team LiB   Previous Section   Next Section