UNPKG

xe-utils-es

Version:

JavaScript 函数库、工具类

11 lines (10 loc) 298 B
/** * 集合分组统计,返回各组中对象的数量统计 * * @param {Array} obj 对象 * @param {Function} iterate 回调/对象属性 * @param {object} context 上下文 * @return {object} */ declare function countBy(obj: any, iterate: any, context?: any): {}; export default countBy;