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

Function flatDeep

frontend/public/swagger-ui-bundle.js:3465–3475  ·  view source on GitHub ↗
(s, x)

Source from the content-addressed store, hash-verified

3463 var _ = 0,
3464 w = !1
3465 function flatDeep(s, x) {
3466 var C = this
3467 s.__iterate(function (s, u) {
3468 return (
3469 (!o || x < o) && isIterable(s)
3470 ? flatDeep(s, x + 1)
3471 : !1 === a(s, i ? u : _++, C) && (w = !0),
3472 !w
3473 )
3474 }, u)
3475 }
3476 return (flatDeep(s, 0), _)
3477 }),
3478 (a.__iteratorUncached = function (a, u) {

Callers 1

flattenFactoryFunction · 0.85

Calls 2

isIterableFunction · 0.85
aFunction · 0.70

Tested by

no test coverage detected