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

Method selectionToString

external/.scrollLibs.js:15867–15871  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

15865 return result
15866 }
15867 selectionToString() {
15868 return this.getSelectedParticles()
15869 .map(particle => particle.toString())
15870 .join("\n")
15871 }
15872 getSelectedParticles() {
15873 return this.topDownArray.filter(particle => particle.isSelected())
15874 }

Callers

nothing calls this directly

Calls 4

getSelectedParticlesMethod · 0.95
mapMethod · 0.80
joinMethod · 0.45
toStringMethod · 0.45

Tested by

no test coverage detected