MCPcopy
hub / github.com/angular-ui/ui-router / isNumber

Function isNumber

test/angular/1.4/angular.js:658–658  ·  view source on GitHub ↗

* @ngdoc function * @name angular.isNumber * @module ng * @kind function * * @description * 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'](http

(value)

Source from the content-addressed store, hash-verified

656 * @returns {boolean} True if `value` is a `Number`.
657 */
658function isNumber(value) {return typeof value === 'number';}
659
660
661/**

Callers 9

isArrayLikeFunction · 0.70
isTypedArrayFunction · 0.70
toJsonFunction · 0.70
getYOffsetFunction · 0.70
angular.jsFile · 0.70
formatNumberFunction · 0.70
dateFilterFunction · 0.70
limitToFilterFunction · 0.70
numberInputTypeFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected