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

Function flipFactory

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

Source from the content-addressed store, hash-verified

3115 ;((this._iter = s), (this.size = s.size))
3116 }
3117 function flipFactory(s) {
3118 var o = makeSequence(s)
3119 return (
3120 (o._iter = s),
3121 (o.size = s.size),
3122 (o.flip = function () {
3123 return s
3124 }),
3125 (o.reverse = function () {
3126 var o = s.reverse.apply(this)
3127 return (
3128 (o.flip = function () {
3129 return s.reverse()
3130 }),
3131 o
3132 )
3133 }),
3134 (o.has = function (o) {
3135 return s.includes(o)
3136 }),
3137 (o.includes = function (o) {
3138 return s.has(o)
3139 }),
3140 (o.cacheResult = cacheResultThrough),
3141 (o.__iterateUncached = function (o, i) {
3142 var a = this
3143 return s.__iterate(function (s, i) {
3144 return !1 !== o(i, s, a)
3145 }, i)
3146 }),
3147 (o.__iteratorUncached = function (o, i) {
3148 if (o === V) {
3149 var a = s.__iterator(o, i)
3150 return new Iterator(function () {
3151 var s = a.next()
3152 if (!s.done) {
3153 var o = s.value[0]
3154 ;((s.value[0] = s.value[1]), (s.value[1] = o))
3155 }
3156 return s
3157 })
3158 }
3159 return s.__iterator(o === U ? $ : U, i)
3160 }),
3161 o
3162 )
3163 }
3164 function mapFactory(s, o, i) {
3165 var a = makeSequence(s)
3166 return (

Callers 2

reverseFactoryFunction · 0.85

Calls 5

makeSequenceFunction · 0.85
nextMethod · 0.80
oFunction · 0.70
includesMethod · 0.45
hasMethod · 0.45

Tested by

no test coverage detected