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

Function isDate

codebase/sources/dhtmlxscheduler.js:15803–15805  ·  view source on GitHub ↗
(value)

Source from the content-addressed store, hash-verified

15801 return year % 4 === 0 && year % 100 !== 0 || year % 400 === 0;
15802 };
15803 var isDate = function(value) {
15804 return value instanceof Date;
15805 };
15806 var isValidDate = function(value) {
15807 return isDate(value) && !isNaN(value.getTime());
15808 };

Callers 2

isValidDateFunction · 0.70
initializeOptions$1Function · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected