MCPcopy Create free account
hub / github.com/SuperMap/iClient-JavaScript / curry

Function curry

libs/echarts/echarts.simple.js:654–659  ·  view source on GitHub ↗

* @memberOf module:zrender/core/util * @param {Function} func * @return {Function}

(func)

Source from the content-addressed store, hash-verified

652 * @return {Function}
653 */
654function curry(func) {
655 var args = nativeSlice.call(arguments, 1);
656 return function () {
657 return func.apply(this, args.concat(nativeSlice.call(arguments)));
658 };
659}
660
661/**
662 * @memberOf module:zrender/core/util

Callers 4

echarts.simple.jsFile · 0.70
wrapDataFunction · 0.70
createListFromArrayFunction · 0.70
axisModelCreatorFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected