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

Function condition

codebase/sources/dhtmlxscheduler.js:3651–3654  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

3649 end_slot = Math.round(ev_length / 60 / 60 / 1e3 / 24);
3650 }
3651 function condition() {
3652 const isDayUnit = obj.x_unit === "day";
3653 return isDayUnit ? start_slot * dir < end_slot * dir : start_slot * dir <= end_slot * dir;
3654 }
3655 while (condition()) {
3656 var check = scheduler2.date.add(sd, obj.x_step * dir, obj.x_unit);
3657 if (ignore && ignore(sd)) {

Callers 1

extend$jFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected