highcharts
Version:
JavaScript charting framework
48 lines (47 loc) • 887 B
JavaScript
/* *
*
* (c) 2014-2026 Highsoft AS
*
* Authors: Jon Arild Nygård / Øystein Moseng
*
* A commercial license may be required depending on use.
* See www.highcharts.com/license
*
*
* */
;
/* *
*
* Namespace
*
* */
var TreemapUtilities;
(function (TreemapUtilities) {
/* *
*
* Declarations
*
* */
/* *
*
* Functions
*
* */
/**
* @todo find correct name for this function.
* @todo Similar to reduce, this function is likely redundant
*/
function recursive(item, func, context) {
const next = func.call(context || this, item);
if (next !== false) {
recursive(next, func, context);
}
}
TreemapUtilities.recursive = recursive;
})(TreemapUtilities || (TreemapUtilities = {}));
/* *
*
* Default Export
*
* */
export default TreemapUtilities;