🌐
GeeksforGeeks
geeksforgeeks.org › javascript-isfinite-function
JavaScript isFinite() Function | GeeksforGeeks
December 30, 2022 - The JavaScript isFinite() function is used to check whether a number is a finite, legal number or not. It returns true for all the values except +infinity, -infinity, or NaN.
All Courses
Master new skills and advance your career with our comprehensive online courses. Explore a wide range of topics, from DS & Algorithms to Data Science. Learn from industry experts and gain practical knowledge at your own pace.
Problem of the Day
Solve one problem based on Data Structures and Algorithms every day and win exciting prizes.
GfG 160: Daily DSA
Practice DSA with GfG 160 - 160 DSA Problems. Includes bonus problems and videos to strengthen your DSA skills step by step. Free Career Guidance available too.
Data Structures & Algorithms
A Computer Science portal for geeks. It contains well written, well thought and well explained computer science and programming articles, quizzes and practice/competitive programming/company interview Questions.
🌐
GeeksforGeeks
geeksforgeeks.org › javascript-number-isfinite-method
JavaScript Number isFinite() Method - GeeksforGeeks
August 8, 2023 - The Number.isfinite() method in JavaScript is used to check whether the passed value is a finite number or not.
🌐
GeeksforGeeks
origin.geeksforgeeks.org › javascript › javascript-number-isfinite-method
JavaScript Number isFinite() Method - GeeksforGeeks
August 8, 2023 - Interview Prep · JS Tutorial · ... 8 Aug, 2023 · The Number.isfinite() method in JavaScript is used to check whether the passed value is a finite number or not....
🌐
GeeksforGeeks
geeksforgeeks.org › underscore-js-_-isfinite-function
Underscore.js _.isFinite() Function - GeeksforGeeks
November 25, 2021 - The _.isFinite() function is used to check whether the value of the parameter passed is finite or not. If the parameter has an infinite value the output is false otherwise, true.
🌐
GeeksforGeeks
geeksforgeeks.org › javascript › lodash-_-isfinite-method
Lodash _.isFinite() Method - GeeksforGeeks
September 4, 2024 - Lodash _.isFinite() method checks whether the given value is a primitive finite number or not and returns the corresponding boolean value. ... This method returns a Boolean value(Returns true if the given value is a finite number, else false).
🌐
MDN Web Docs
developer.mozilla.org › en-US › docs › Web › JavaScript › Reference › Global_Objects › isFinite
isFinite() - JavaScript - MDN Web Docs - Mozilla
July 8, 2025 - The isFinite() function determines whether a value is finite, first converting the value to a number if necessary. A finite number is one that's not NaN or ±Infinity. Because coercion inside the isFinite() function can be surprising, you may prefer to use Number.isFinite().
🌐
W3Schools
w3schools.com › jsref › jsref_isfinite.asp
JavaScript isFinite() Method
cssText getPropertyPriority() getPropertyValue() item() length parentRule removeProperty() setProperty() JS Conversion ... The isFinite() method returns true if a value is a finite number.
🌐
MDN Web Docs
developer.mozilla.org › en-US › docs › Web › JavaScript › Reference › Global_Objects › Number › isFinite
Number.isFinite() - JavaScript - MDN Web Docs
July 10, 2025 - The Number.isFinite() static method determines whether the passed value is a finite number — that is, it checks that a given value is a number, and the number is neither positive Infinity, negative Infinity, nor NaN.
🌐
GitHub
github.com › mdn › content › blob › main › files › en-us › web › javascript › reference › global_objects › isfinite › index.md
content/files/en-us/web/javascript/reference/global_objects/isfinite/index.md at main · mdn/content
The **`isFinite()`** function determines whether a value is finite, first converting the value to a number if necessary. A finite number is one that's not {{jsxref("NaN")}} or ±{{jsxref("Infinity")}}. Because coercion inside the `isFinite()` ...
Author   mdn
Find elsewhere
🌐
TutorialsPoint
tutorialspoint.com › javascript › javascript_number_isfinite_method.htm
JavaScript Number isFinite() Method
The JavaScript Number isFinite() method is a static method used to determine whether the passed value is a finite number or not. It checks that the given value is a number and returns a boolean value "true" if the passed value is a finite number ...
🌐
Programiz
programiz.com › javascript › library › built-in › isfinite
JavaScript isFinite()
The isFinite() function checks whether the passed value is a finite number.
🌐
Reality Ripple
udn.realityripple.com › docs › Web › JavaScript › Reference › Global_Objects › isFinite
isFinite() - JavaScript - UDN Web Docs: MDN Backup
If the argument is NaN, positive infinity, or negative infinity, this method returns false; otherwise, it returns true. isFinite(Infinity); // false isFinite(NaN); // false isFinite(-Infinity); // false isFinite(0); // true isFinite(2e64); // true isFinite(910); // true isFinite(null); // true, would've been false with the // more robust Number.isFinite(null) isFinite('0'); // true, would've been false with the // more robust Number.isFinite("0")
🌐
Unibo
lia.disi.unibo.it › materiale › JS › developer.mozilla.org › en-US › docs › Web › JavaScript › Reference › Global_Objects › isFinite.html
isFinite() - JavaScript | MDN
If the argument is NaN, positive infinity, or negative infinity, this method returns false; otherwise, it returns true. isFinite(Infinity); // false isFinite(NaN); // false isFinite(-Infinity); // false isFinite(0); // true isFinite(2e64); // true isFinite("0"); // true, would've been false with the // more robust Number.isFinite("0")
🌐
Codecademy
codecademy.com › docs › javascript › number methods › .isfinite()
JavaScript | Number Methods | .isFinite() | Codecademy
October 13, 2021 - The above example passes an Infinity, a NaN, and an integer value, into the Number.isFinite() method to verify if each value is finite or not.
🌐
W3Schools
w3schools.com › jsref › jsref_isfinite_number.asp
JavaScript Number.isFinite() Method
cssText getPropertyPriority() getPropertyValue() item() length parentRule removeProperty() setProperty() JS Conversion ... The Number.isFinite() method returns true if a number is a finite number.
🌐
DEV Community
dev.to › kobbyowen › javascript-in-depth-isfinite-isnan-functions-cp6
JavaScript In Depth - isFinite & IsNaN Functions - DEV Community
November 1, 2021 - This behavior is so true that, ECMAScript documentation suggests that one of the reliable ways to check for NaN is the expression(x === x), which returns false only if x is a NaN. Mostly, to determine if a number is okay to be used in arithmetic operation without few surprises, you should find yourself using isFinite more than isNaN, since isFinite checks for NaN values and goes on to check for infinite values.
🌐
Code.mu
code.mu › en › javascript › manual › lang › isFinite
The isFinite function - a number checking in JavaScript
The isFinite function checks if a parameter is a finite number (that is, not a string, array, etc., and not plus or minus infinity).
🌐
Reintech
reintech.io › blog › using-the-isfinite-method
Using the isFinite() Method | Reintech media
January 13, 2026 - Whether you're building form ... numbers is essential for writing robust code. The global isFinite() function determines whether a given value represents a finite number....
🌐
Educative
educative.io › answers › what-is-numberisfinite-in-javascript
What is Number.isFinite() in JavaScript?
August 20, 2021 - The Number.isFinite method returns true if the number passed is a finite number; otherwise, it returns false.