Name
isFinite( ): determine whether a number is finite â 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
Get JavaScript: The Definitive Guide, 5th Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.