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

Function mergeIntoListWith

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

Source from the content-addressed store, hash-verified

3028 : makeList(x, j, L, B, Y)
3029 }
3030 function mergeIntoListWith(s, o, i) {
3031 for (var a = [], u = 0, _ = 0; _ < i.length; _++) {
3032 var w = i[_],
3033 x = IndexedIterable(w)
3034 ;(x.size > u && (u = x.size),
3035 isIterable(w) ||
3036 (x = x.map(function (s) {
3037 return fromJS(s)
3038 })),
3039 a.push(x))
3040 }
3041 return (u > s.size && (s = s.setSize(u)), mergeIntoCollectionWith(s, o, a))
3042 }
3043 function getTailOffset(s) {
3044 return s < x ? 0 : ((s - 1) >>> w) << w
3045 }

Callers 1

Calls 6

IndexedIterableFunction · 0.85
isIterableFunction · 0.85
fromJSFunction · 0.85
mergeIntoCollectionWithFunction · 0.85
mapMethod · 0.45
pushMethod · 0.45

Tested by

no test coverage detected