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

Function isDate

test/angular/1.7/angular.js:742–744  ·  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

740 * @returns {boolean} True if `value` is a `Date`.
741 */
742function isDate(value) {
743 return toString.call(value) === '[object Date]';
744}
745
746
747/**

Callers 10

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