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

Method every

external/.scrollLibs.js:16822–16829  ·  view source on GitHub ↗
(fn)

Source from the content-addressed store, hash-verified

16820 return this.getSubparticles().reverse().find(fn)
16821 }
16822 every(fn) {
16823 let index = 0
16824 for (let particle of this.getTopDownArrayIterator()) {
16825 if (!fn(particle, index)) return false
16826 index++
16827 }
16828 return true
16829 }
16830 forEach(fn) {
16831 this.getSubparticles().forEach(fn)
16832 return this

Callers 9

_hasColumnsMethod · 0.45
isValidMethod · 0.45
__details_state_loadFunction · 0.45
.datatables.jsFile · 0.45
_loop_1Function · 0.45
startFunction · 0.45
tickIntervalFunction · 0.45
NFunction · 0.45
IFunction · 0.45

Calls 2

fnFunction · 0.85

Tested by

no test coverage detected