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

Function cleanArray

frontend/public/swagger-ui-bundle.js:39089–39091  ·  view source on GitHub ↗
(s)

Source from the content-addressed store, hash-verified

39087 function flatten(s) {
39088 return [].concat(...s.map((s) => (Array.isArray(s) ? flatten(s) : s)))
39089 }
39090 function cleanArray(s) {
39091 return s.filter((s) => void 0 !== s)
39092 }
39093 function lib_isObject(s) {
39094 return s && 'object' == typeof s

Callers 2

forEachNewPatchFunction · 0.85

Calls 1

filterMethod · 0.45

Tested by

no test coverage detected