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

Function mergeAll

libs/echarts/echarts-en.simple.js:399–405  ·  view source on GitHub ↗

* @param {Array} targetAndSources The first item is target, and the rests are source. * @param {boolean} [overwrite=false] * @return {*} target

(targetAndSources, overwrite)

Source from the content-addressed store, hash-verified

397 * @return {*} target
398 */
399function mergeAll(targetAndSources, overwrite) {
400 var result = targetAndSources[0];
401 for (var i = 1, len = targetAndSources.length; i < len; i++) {
402 result = merge(result, targetAndSources[i], overwrite);
403 }
404 return result;
405}
406
407/**
408 * @param {*} target

Callers 1

axisModelCreatorFunction · 0.70

Calls 1

mergeFunction · 0.70

Tested by

no test coverage detected