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

Method getParticleByColumn

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

Source from the content-addressed store, hash-verified

15846 return this.topDownArray.find(particle => particle._hasColumns(columns))
15847 }
15848 getParticleByColumn(index, name) {
15849 return this.find(particle => particle.getAtom(index) === name)
15850 }
15851 _getParticlesByColumn(index, name) {
15852 return this.filter(particle => particle.getAtom(index) === name)
15853 }

Callers

nothing calls this directly

Calls 2

findMethod · 0.95
getAtomMethod · 0.45

Tested by

no test coverage detected