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

Method getParticleByGuid

external/.scrollLibs.js:22804–22806  ·  view source on GitHub ↗
(guid)

Source from the content-addressed store, hash-verified

22802 return this.destroy()
22803 }
22804 getParticleByGuid(guid) {
22805 return this.topDownArray.find(particle => particle._getUid() === guid)
22806 }
22807 addClassToStumpParticle(className) {
22808 const classParser = this.touchParticle("class")
22809 const atoms = classParser.getAtomsFrom(1)

Callers 1

Calls 2

_getUidMethod · 0.80
findMethod · 0.45

Tested by

no test coverage detected