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

Function isDate

test/angular/1.2/angular.js:582–584  ·  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

580 * @returns {boolean} True if `value` is a `Date`.
581 */
582function isDate(value) {
583 return toString.call(value) === '[object Date]';
584}
585
586
587/**

Callers 5

copyFunction · 0.70
equalsFunction · 0.70
buildUrlFunction · 0.70
dateFilterFunction · 0.70
compareFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected