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

Function mergeIntoMapWith

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

Source from the content-addressed store, hash-verified

2425 return ((w[a] = u), new HashArrayMapNode(s, _ + 1, w))
2426 }
2427 function mergeIntoMapWith(s, o, i) {
2428 for (var a = [], u = 0; u < i.length; u++) {
2429 var _ = i[u],
2430 w = KeyedIterable(_)
2431 ;(isIterable(_) ||
2432 (w = w.map(function (s) {
2433 return fromJS(s)
2434 })),
2435 a.push(w))
2436 }
2437 return mergeIntoCollectionWith(s, o, a)
2438 }
2439 function deepMerger(s, o, i) {
2440 return s && s.mergeDeep && isIterable(o) ? s.mergeDeep(o) : is(s, o) ? s : o
2441 }

Callers 1

Calls 6

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

Tested by

no test coverage detected