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

Method _getParticlesByColumn

external/.scrollLibs.js:15851–15853  ·  view source on GitHub ↗
(index, name)

Source from the content-addressed store, hash-verified

15849 return this.find(particle => particle.getAtom(index) === name)
15850 }
15851 _getParticlesByColumn(index, name) {
15852 return this.filter(particle => particle.getAtom(index) === name)
15853 }
15854 // todo: preserve subclasses!
15855 select(columnNames) {
15856 columnNames = Array.isArray(columnNames) ? columnNames : [columnNames]

Calls 2

filterMethod · 0.95
getAtomMethod · 0.45

Tested by

no test coverage detected