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

Method getTextContent

external/.scrollLibs.js:24392–24397  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

24390 return clone.toString()
24391 }
24392 getTextContent() {
24393 return this._getHtmlOnlyParticles()
24394 .map(particle => particle.getTextContent())
24395 .filter(text => text)
24396 .join("\n")
24397 }
24398 getCommandNames() {
24399 return Object.getOwnPropertyNames(Object.getPrototypeOf(this)).filter(atom => atom.endsWith("Command"))
24400 }

Callers

nothing calls this directly

Calls 5

_getHtmlOnlyParticlesMethod · 0.95
mapMethod · 0.80
joinMethod · 0.45
filterMethod · 0.45
getTextContentMethod · 0.45

Tested by

no test coverage detected