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

Function forEachNewPatch

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

Source from the content-addressed store, hash-verified

39051 function replace(s, o, i) {
39052 return { op: 'replace', path: s, value: o, meta: i }
39053 }
39054 function forEachNewPatch(s, o, i) {
39055 return cleanArray(
39056 flatten(s.filter(isAdditiveMutation).map((s) => o(s.value, i, s.path)) || [])
39057 )
39058 }
39059 function forEachPrimitive(s, o, i) {
39060 return (

Callers 1

Calls 5

cleanArrayFunction · 0.85
flattenFunction · 0.85
oFunction · 0.70
mapMethod · 0.45
filterMethod · 0.45

Tested by

no test coverage detected