MCPcopy Create free account
hub / github.com/breck7/scroll / shift

Method shift

external/.scrollLibs.js:17209–17213  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

17207 return this
17208 }
17209 shift() {
17210 if (!this.length) return null
17211 const particle = this._getSubparticlesArray().shift()
17212 return particle.copyTo(new this.constructor(), 0)
17213 }
17214 sort(fn) {
17215 this._getSubparticlesArray().sort(fn)
17216 this._clearCueIndex()

Callers 15

parseCSVFunction · 0.80
.katex.min.jsFile · 0.80
objectMethod · 0.80
ueFunction · 0.80
.scrollLibs.jsFile · 0.80
cFunction · 0.80
lFunction · 0.80
addChangeToHistoryFunction · 0.80
getMethodFromDotPathMethod · 0.80
toSideBySideMethod · 0.80

Calls 2

_getSubparticlesArrayMethod · 0.95
copyToMethod · 0.80

Tested by

no test coverage detected