🌐
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.
🌐
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.
🌐
Programiz
programiz.com › javascript › library › built-in › isfinite
JavaScript isFinite()
The isFinite() function checks whether the passed value is a finite number.
🌐
Math.js
mathjs.org › docs › reference › functions › isFinite.html
Function isFinite
To test if all entries of an Array or Matrix are finite, use isBounded. ... math.isFinite(0) // returns true math.isFinite(NaN) // returns false math.isFinite(math.bignumber(Infinity)) // returns false math.isFinite(math.fraction(1,3)) // returns true math.isFinite(math.complex('2 - 4i')) // ...
🌐
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
🌐
Vultr Docs
docs.vultr.com › javascript › global › isFinite
JavaScript isFinite() - Check If Finite Number | Vultr Docs
December 9, 2024 - Here, filter utilizes isFinite() to keep only the elements that are finite numbers from the data array, effectively cleaning the data.
🌐
TechOnTheNet
techonthenet.com › js › number_isfinite.php
JavaScript: Number isFinite() method
The isFinite() method returns true if the value is an infinite number.
🌐
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.
Find elsewhere
🌐
GeeksforGeeks
geeksforgeeks.org › javascript-isfinite-function
JavaScript isFinite() Function | GeeksforGeeks
December 30, 2022 - cMath module contains a number of functions which is used for mathematical operations for complex numbers. The cmath.isfinite() function is used to check whether the value is finite, or not. The value passed in this function can be int, float, ...
🌐
Unibo
lia.disi.unibo.it › materiale › JS › developer.mozilla.org › en-US › docs › Web › JavaScript › Reference › Global_Objects › isFinite.html
isFinite() - JavaScript | MDN
The global isFinite() function determines whether the passed value is a finite number. If needed, the parameter is first converted to a number.
🌐
Reintech
reintech.io › blog › using-the-isfinite-method
Using the isFinite() Method | Reintech media
January 13, 2026 - The global isFinite() includes type coercion overhead, which may impact performance in tight loops processing large datasets: // Benchmark comparison const testData = Array.from({ length: 1000000 }, () => Math.random() * 100); console.time('isFinite'); testData.forEach(num => isFinite(num)); console.timeEnd('isFinite'); console.time('Number.isFinite'); testData.forEach(num => Number.isFinite(num)); console.timeEnd('Number.isFinite'); // Number.isFinite is typically 2-3x faster when working with actual numbers ·
🌐
Freewebdesigntutorials
freewebdesigntutorials.com › javaScriptTutorials › jsNumberObject › isFiniteFunction.php
JavaScript isFinite() Function
JavaScript's isFinite() function can be used to ensure that a numerical value is indeed finite, or not equal to Infinity. The script below multiplies the MAX_VALUE property by two, and checks if the result is finite.
🌐
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.
🌐
GitHub
github.com › mdn › content › blob › main › files › en-us › web › javascript › reference › global_objects › number › isfinite › index.md
content/files/en-us/web/javascript/reference/global_objects/number/isfinite/index.md at main · mdn/content
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 {{jsxref("Infinity")}}, negative `Infinity`, nor ...
Author   mdn
🌐
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.
🌐
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).
🌐
Stack Overflow
stackoverflow.com › questions › 65954081 › why-does-isfinite-return-true-for-strings-containing-numbers
Why does isFinite() return true for strings containing numbers?
@VLAZ I can see that it is returning true, hence the last test case is returning an array with the numbers which were a string inside the array. I'm wondering why it isn't false, assuming it is a string just like 'aasf'. I can't see any clarification about that in the docs. ... Actually, isFinite() determine if a value is finite, and convert it to int or float if is necessary with parseInt or parseFloat, if u try parseInt with '123' the result will be 123 number but if u try with 'adf' for example the result will be NaN (Not a Number).
🌐
Reality Ripple
udn.realityripple.com › docs › Web › JavaScript › Reference › Global_Objects › Number › isFinite
Number.isFinite() - JavaScript
Number.isFinite(Infinity); // false Number.isFinite(NaN); // false Number.isFinite(-Infinity); // false Number.isFinite(0); // true Number.isFinite(2e64); // true Number.isFinite('0'); // false, would've been true with // global isFinite('0') Number.isFinite(null); // false, would've been true with // global isFinite(null)