MCPcopy Create free account
hub / github.com/DHTMLX/scheduler / isDate

Function isDate

codebase/sources/dhtmlxscheduler.es.js:15799–15801  ·  view source on GitHub ↗
(value)

Source from the content-addressed store, hash-verified

15797 return year % 4 === 0 && year % 100 !== 0 || year % 400 === 0;
15798};
15799var isDate = function(value) {
15800 return value instanceof Date;
15801};
15802var isValidDate = function(value) {
15803 return isDate(value) && !isNaN(value.getTime());
15804};

Callers 2

isValidDateFunction · 0.70
initializeOptions$1Function · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected