MCPcopy Create free account
hub / github.com/apache/cloudstack / isDate

Function isDate

tools/ngui/static/js/lib/angular.js:377–379  ·  view source on GitHub ↗

* @ngdoc function * @name angular.isDate * @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

375 * @returns {boolean} True if `value` is a `Date`.
376 */
377function isDate(value){
378 return toString.apply(value) == '[object Date]';
379}
380
381
382/**

Callers 3

copyFunction · 0.85
equalsFunction · 0.85
dateFilterFunction · 0.85

Calls 1

applyMethod · 0.65

Tested by

no test coverage detected