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

Function mapFactory

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

Source from the content-addressed store, hash-verified

3162 )
3163 }
3164 function mapFactory(s, o, i) {
3165 var a = makeSequence(s)
3166 return (
3167 (a.size = s.size),
3168 (a.has = function (o) {
3169 return s.has(o)
3170 }),
3171 (a.get = function (a, u) {
3172 var _ = s.get(a, j)
3173 return _ === j ? u : o.call(i, _, a, s)
3174 }),
3175 (a.__iterateUncached = function (a, u) {
3176 var _ = this
3177 return s.__iterate(function (s, u, w) {
3178 return !1 !== a(o.call(i, s, u, w), u, _)
3179 }, u)
3180 }),
3181 (a.__iteratorUncached = function (a, u) {
3182 var _ = s.__iterator(V, u)
3183 return new Iterator(function () {
3184 var u = _.next()
3185 if (u.done) return u
3186 var w = u.value,
3187 x = w[0]
3188 return iteratorValue(a, x, o.call(i, w[1], x, s), u)
3189 })
3190 }),
3191 a
3192 )
3193 }
3194 function reverseFactory(s, o) {
3195 var i = makeSequence(s)
3196 return (

Callers 1

Calls 6

makeSequenceFunction · 0.85
iteratorValueFunction · 0.85
nextMethod · 0.80
aFunction · 0.70
getMethod · 0.65
hasMethod · 0.45

Tested by

no test coverage detected