MCPcopy Create free account
hub / github.com/cafebazaar/blacksmith / isDate

Function isDate

web/static/bower_components/angular/angular.js:654–656  ·  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

652 * @returns {boolean} True if `value` is a `Date`.
653 */
654function isDate(value) {
655 return toString.call(value) === '[object Date]';
656}
657
658
659/**

Callers 10

baseExtendFunction · 0.85
copyFunction · 0.85
equalsFunction · 0.85
serializeValueFunction · 0.85
serializeFunction · 0.85
dateFilterFunction · 0.85
weekParserFunction · 0.85
createDateParserFunction · 0.85
createDateInputTypeFunction · 0.85
parseObservedDateValueFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected