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

Function wrapIndex

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

Source from the content-addressed store, hash-verified

1507 return (void 0 === s.size && (s.size = s.__iterate(returnTrue)), s.size)
1508 }
1509 function wrapIndex(s, o) {
1510 if ('number' != typeof o) {
1511 var i = o >>> 0
1512 if ('' + i !== o || 4294967295 === i) return NaN
1513 o = i
1514 }
1515 return o < 0 ? ensureSize(s) + o : o
1516 }
1517 function returnTrue() {
1518 return !0
1519 }

Callers 3

updateListFunction · 0.85
sliceFactoryFunction · 0.85

Calls 1

ensureSizeFunction · 0.85

Tested by

no test coverage detected