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

Function isDate

test/angular/1.5/angular.js:662–664  ·  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

660 * @returns {boolean} True if `value` is a `Date`.
661 */
662function isDate(value) {
663 return toString.call(value) === '[object Date]';
664}
665
666
667/**

Callers 9

baseExtendFunction · 0.70
equalsFunction · 0.70
serializeValueFunction · 0.70
serializeFunction · 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