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

Function reverseFactory

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

Source from the content-addressed store, hash-verified

3192 )
3193 }
3194 function reverseFactory(s, o) {
3195 var i = makeSequence(s)
3196 return (
3197 (i._iter = s),
3198 (i.size = s.size),
3199 (i.reverse = function () {
3200 return s
3201 }),
3202 s.flip &&
3203 (i.flip = function () {
3204 var o = flipFactory(s)
3205 return (
3206 (o.reverse = function () {
3207 return s.flip()
3208 }),
3209 o
3210 )
3211 }),
3212 (i.get = function (i, a) {
3213 return s.get(o ? i : -1 - i, a)
3214 }),
3215 (i.has = function (i) {
3216 return s.has(o ? i : -1 - i)
3217 }),
3218 (i.includes = function (o) {
3219 return s.includes(o)
3220 }),
3221 (i.cacheResult = cacheResultThrough),
3222 (i.__iterate = function (o, i) {
3223 var a = this
3224 return s.__iterate(function (s, i) {
3225 return o(s, i, a)
3226 }, !i)
3227 }),
3228 (i.__iterator = function (o, i) {
3229 return s.__iterator(o, !i)
3230 }),
3231 i
3232 )
3233 }
3234 function filterFactory(s, o, i, a) {
3235 var u = makeSequence(s)
3236 return (

Callers 1

Calls 6

makeSequenceFunction · 0.85
flipFactoryFunction · 0.85
oFunction · 0.70
getMethod · 0.65
hasMethod · 0.45
includesMethod · 0.45

Tested by

no test coverage detected