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

Function isDate$1

codebase/sources/dhtmlxscheduler.es.js:1451–1457  ·  view source on GitHub ↗
(obj)

Source from the content-addressed store, hash-verified

1449 return obj && typeof obj === "object" && Function.prototype.toString.call(obj.constructor) === "function Boolean() { [native code] }";
1450}
1451function isDate$1(obj) {
1452 if (obj && typeof obj === "object") {
1453 return !!(obj.getFullYear && obj.getMonth && obj.getDate);
1454 } else {
1455 return false;
1456 }
1457}
1458function defined(obj) {
1459 return typeof obj != "undefined";
1460}

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected