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

Method findAllAtomsWithAtomType

external/.scrollLibs.js:18268–18270  ·  view source on GitHub ↗
(atomTypeId)

Source from the content-addressed store, hash-verified

18266 return atoms
18267 }
18268 findAllAtomsWithAtomType(atomTypeId) {
18269 return this.allTypedAtoms.filter(typedAtom => typedAtom.type === atomTypeId)
18270 }
18271 findAllParticlesWithParser(parserId) {
18272 return this.topDownArray.filter(particle => particle.parserId === parserId)
18273 }

Callers

nothing calls this directly

Calls 1

filterMethod · 0.45

Tested by

no test coverage detected