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

Function zipWithFactory

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

Source from the content-addressed store, hash-verified

3579 return (0 === a && i !== o && (null == i || i != i)) || a > 0
3580 }
3581 function zipWithFactory(s, o, i) {
3582 var a = makeSequence(s)
3583 return (
3584 (a.size = new ArraySeq(i)
3585 .map(function (s) {
3586 return s.size
3587 })
3588 .min()),
3589 (a.__iterate = function (s, o) {
3590 for (
3591 var i, a = this.__iterator(U, o), u = 0;
3592 !(i = a.next()).done && !1 !== s(i.value, u++, this);
3593 );
3594 return u
3595 }),
3596 (a.__iteratorUncached = function (s, a) {
3597 var u = i.map(function (s) {
3598 return ((s = Iterable(s)), getIterator(a ? s.reverse() : s))
3599 }),
3600 _ = 0,
3601 w = !1
3602 return new Iterator(function () {
3603 var i
3604 return (
3605 w ||
3606 ((i = u.map(function (s) {
3607 return s.next()
3608 })),
3609 (w = i.some(function (s) {
3610 return s.done
3611 }))),
3612 w
3613 ? iteratorDone()
3614 : iteratorValue(
3615 s,
3616 _++,
3617 o.apply(
3618 null,
3619 i.map(function (s) {
3620 return s.value
3621 })
3622 )
3623 )
3624 )
3625 })
3626 }),
3627 a
3628 )
3629 }
3630 function reify(s, o) {
3631 return isSeq(s) ? o : s.constructor(o)
3632 }

Callers 1

Calls 9

makeSequenceFunction · 0.85
IterableFunction · 0.85
getIteratorFunction · 0.85
iteratorDoneFunction · 0.85
iteratorValueFunction · 0.85
nextMethod · 0.80
sFunction · 0.50
mapMethod · 0.45
someMethod · 0.45

Tested by

no test coverage detected