Name
isFinite() — determine whether a number is finite
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.
Get JavaScript: The Definitive Guide, 6th 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.