MCPcopy Index your code
hub / github.com/dataease/SQLBot / groupByFactory

Function groupByFactory

frontend/public/swagger-ui-bundle.js:3284–3296  ·  view source on GitHub ↗
(s, o, i)

Source from the content-addressed store, hash-verified

3282 )
3283 }
3284 function groupByFactory(s, o, i) {
3285 var a = isKeyed(s),
3286 u = (isOrdered(s) ? OrderedMap() : Map()).asMutable()
3287 s.__iterate(function (_, w) {
3288 u.update(o.call(i, _, w, s), function (s) {
3289 return ((s = s || []).push(a ? [w, _] : _), s)
3290 })
3291 })
3292 var _ = iterableClass(s)
3293 return u.map(function (o) {
3294 return reify(s, _(o))
3295 })
3296 }
3297 function sliceFactory(s, o, i, a) {
3298 var u = s.size
3299 if (

Callers 1

Calls 9

isKeyedFunction · 0.85
isOrderedFunction · 0.85
OrderedMapFunction · 0.85
MapFunction · 0.85
iterableClassFunction · 0.85
reifyFunction · 0.85
_Function · 0.70
pushMethod · 0.45
mapMethod · 0.45

Tested by

no test coverage detected