MCPcopy Index your code
hub / github.com/SuperMap/iClient-JavaScript / getSum

Method getSum

src/common/util/ArrayStatistic.js:123–125  ·  view source on GitHub ↗

* @function ArrayStatistic.getSum * @description 求和。 * @param {Array. } array 需要求和的参数。 * @returns {number} 返回求和结果。

(array)

Source from the content-addressed store, hash-verified

121 * @returns {number} 返回求和结果。
122 */
123 static getSum(array){
124 return this.getInstance(array).sum();
125 }
126
127 /**
128 * @function ArrayStatistic.getMax

Callers 9

getArrayStatisticMethod · 0.95
pieLayoutFunction · 0.80
echarts-en.min.jsFile · 0.80
echarts.min.jsFile · 0.80
pieLayoutFunction · 0.80

Calls 1

getInstanceMethod · 0.95

Tested by

no test coverage detected