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

Function interposeFactory

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

Source from the content-addressed store, hash-verified

3505 .flatten(!0)
3506 }
3507 function interposeFactory(s, o) {
3508 var i = makeSequence(s)
3509 return (
3510 (i.size = s.size && 2 * s.size - 1),
3511 (i.__iterateUncached = function (i, a) {
3512 var u = this,
3513 _ = 0
3514 return (
3515 s.__iterate(function (s, a) {
3516 return (!_ || !1 !== i(o, _++, u)) && !1 !== i(s, _++, u)
3517 }, a),
3518 _
3519 )
3520 }),
3521 (i.__iteratorUncached = function (i, a) {
3522 var u,
3523 _ = s.__iterator(U, a),
3524 w = 0
3525 return new Iterator(function () {
3526 return (!u || w % 2) && (u = _.next()).done
3527 ? u
3528 : w % 2
3529 ? iteratorValue(i, w++, o)
3530 : iteratorValue(i, w++, u.value, u)
3531 })
3532 }),
3533 i
3534 )
3535 }
3536 function sortFactory(s, o, i) {
3537 o || (o = defaultComparator)
3538 var a = isKeyed(s),

Callers 1

Calls 4

makeSequenceFunction · 0.85
iteratorValueFunction · 0.85
nextMethod · 0.80
iFunction · 0.70

Tested by

no test coverage detected