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

Function isDate

lib/test/angular/1.7.0/angular.js:725–727  ·  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

723 * @returns {boolean} True if `value` is a `Date`.
724 */
725function isDate(value) {
726 return toString.call(value) === '[object Date]';
727}
728
729
730/**

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