(fn)
| 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 |
no test coverage detected