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

Function skipWhileFactory

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

Source from the content-addressed store, hash-verified

3386 )
3387 }
3388 function skipWhileFactory(s, o, i, a) {
3389 var u = makeSequence(s)
3390 return (
3391 (u.__iterateUncached = function (u, _) {
3392 var w = this
3393 if (_) return this.cacheResult().__iterate(u, _)
3394 var x = !0,
3395 C = 0
3396 return (
3397 s.__iterate(function (s, _, j) {
3398 if (!x || !(x = o.call(i, s, _, j))) return (C++, u(s, a ? _ : C - 1, w))
3399 }),
3400 C
3401 )
3402 }),
3403 (u.__iteratorUncached = function (u, _) {
3404 var w = this
3405 if (_) return this.cacheResult().__iterator(u, _)
3406 var x = s.__iterator(V, _),
3407 C = !0,
3408 j = 0
3409 return new Iterator(function () {
3410 var s, _, L
3411 do {
3412 if ((s = x.next()).done)
3413 return a || u === U
3414 ? s
3415 : iteratorValue(u, j++, u === $ ? void 0 : s.value[1], s)
3416 var B = s.value
3417 ;((_ = B[0]), (L = B[1]), C && (C = o.call(i, L, _, w)))
3418 } while (C)
3419 return u === V ? s : iteratorValue(u, _, L, s)
3420 })
3421 }),
3422 u
3423 )
3424 }
3425 function concatFactory(s, o) {
3426 var i = isKeyed(s),
3427 a = [s]

Callers 1

Calls 4

makeSequenceFunction · 0.85
iteratorValueFunction · 0.85
nextMethod · 0.80
uFunction · 0.70

Tested by

no test coverage detected