MCPcopy Index your code
hub / github.com/angular-ui/ui-router / isDate

Function isDate

test/angular/1.3/angular.js:576–578  ·  view source on GitHub ↗

* @ngdoc function * @name angular.isDate * @module ng * @kind function * * @description * Determines if a value is a date. * * @param {*} value Reference to check. * @returns {boolean} True if `value` is a `Date`.

(value)

Source from the content-addressed store, hash-verified

574 * @returns {boolean} True if `value` is a `Date`.
575 */
576function isDate(value) {
577 return toString.call(value) === '[object Date]';
578}
579
580
581/**

Callers 8

copyFunction · 0.70
equalsFunction · 0.70
buildUrlFunction · 0.70
dateFilterFunction · 0.70
weekParserFunction · 0.70
createDateParserFunction · 0.70
createDateInputTypeFunction · 0.70
parseObservedDateValueFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected