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

Function objReduce

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

Source from the content-addressed store, hash-verified

31013 return Object.keys(s).reduce((i, a) => ((i[a] = o(s[a], a)), i), {})
31014 }
31015 function objReduce(s, o) {
31016 return Object.keys(s).reduce((i, a) => {
31017 let u = o(s[a], a)
31018 return (u && 'object' == typeof u && Object.assign(i, u), i)
31019 }, {})
31020 }
31021 function systemThunkMiddleware(s) {
31022 return ({ dispatch: o, getState: i }) =>
31023 (o) =>

Callers 2

getTypeMethod · 0.85
getActionsMethod · 0.85

Calls 3

oFunction · 0.70
reduceMethod · 0.45
keysMethod · 0.45

Tested by

no test coverage detected