Determines if a reference is a Number
.
This includes the "special" numbers NaN
, +Infinity
and -Infinity
.
If you wish to exclude these then you can use the native `isFinite' method.
angular.isNumber(value);
Param | Type | Details |
---|---|---|
value | * | Reference to check. |
boolean |
True if |
© 2010–2017 Google, Inc.
Licensed under the Creative Commons Attribution License 4.0.
https://code.angularjs.org/1.5.11/docs/api/ng/function/angular.isNumber