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

Function divmod

codebase/sources/dhtmlxscheduler.es.js:15767–15769  ·  view source on GitHub ↗
(a, b)

Source from the content-addressed store, hash-verified

15765 return r * b < 0 ? r + b : r;
15766};
15767var divmod = function(a, b) {
15768 return { div: Math.floor(a / b), mod: pymod(a, b) };
15769};
15770var empty = function(obj) {
15771 return !isPresent(obj) || obj.length === 0;
15772};

Callers 1

Calls 1

pymodFunction · 0.70

Tested by

no test coverage detected