MCPcopy
hub / github.com/apache/echarts / normalizeMethod

Function normalizeMethod

test/lib/ecSimpleTransform.js:211–221  ·  view source on GitHub ↗
(method)

Source from the content-addressed store, hash-verified

209 return { mapByGroup: mapByGroup, outList: outList };
210 }
211 function normalizeMethod(method) {
212 if (method == null) {
213 return 'FIRST';
214 }
215 var methodInternal = method.toUpperCase();
216 methodInternal = hasOwn(METHOD_ALIAS, methodInternal)
217 ? METHOD_ALIAS[methodInternal]
218 : methodInternal;
219 assert(hasOwn(METHOD_INTERNAL, methodInternal), "Illegal method " + method + ".");
220 return methodInternal;
221 }
222 var createCollectionResultLine = function (upstream, dataIndex, collectionDimInfoList, groupByDimInfo, groupByVal) {
223 var newLine = [];
224 for (var i = 0; i < collectionDimInfoList.length; i++) {

Callers 1

prepareDimensionsFunction · 0.85

Calls 2

hasOwnFunction · 0.70
assertFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…