@esri/calcite-components
Version:
Web Components for Esri's Calcite Design System.
12 lines (9 loc) • 320 B
JavaScript
/*!
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
*/
;
function getRoundRobinIndex(index, total) {
return (index + total) % total;
}
exports.getRoundRobinIndex = getRoundRobinIndex;