Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
isFinite
NaN
1 parent b3878a3 commit ce8be9cCopy full SHA for ce8be9c
src/Angular.js
@@ -482,6 +482,12 @@ function isString(value) {return typeof value === 'string';}
482
* @description
483
* Determines if a reference is a `Number`.
484
*
485
+ * This includes the "special" numbers `NaN`, `+Infinity` and `-Infinity`.
486
+ *
487
+ * If you wish to exclude these then you can use the native
488
+ * [`isFinite'](`https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/isFinite)
489
+ * method.
490
491
* @param {*} value Reference to check.
492
* @returns {boolean} True if `value` is a `Number`.
493
*/
0 commit comments