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 048a9d8 commit 0bb139fCopy full SHA for 0bb139f
src/Angular.js
@@ -521,6 +521,12 @@ function isString(value) {return typeof value === 'string';}
521
* @description
522
* Determines if a reference is a `Number`.
523
*
524
+ * This includes the "special" numbers `NaN`, `+Infinity` and `-Infinity`.
525
+ *
526
+ * If you wish to exclude these then you can use the native
527
+ * [`isFinite'](`https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/isFinite)
528
+ * method.
529
530
* @param {*} value Reference to check.
531
* @returns {boolean} True if `value` is a `Number`.
532
*/
0 commit comments