MCPcopy Create free account
hub / github.com/bclinkinbeard/angular / isDate

Function isDate

test/fixtures/foo.js:580–582  ·  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

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

Callers 5

copyFunction · 0.85
equalsFunction · 0.85
buildUrlFunction · 0.85
dateFilterFunction · 0.85
compareFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected