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

Method hasLine

external/.scrollLibs.js:22871–22873  ·  view source on GitHub ↗
(line)

Source from the content-addressed store, hash-verified

22869 return this.topDownArray.filter(particle => particle.doesExtend("htmlTagParser") && particle.cue === cue)
22870 }
22871 hasLine(line) {
22872 return this.getSubparticles().some(particle => particle.getLine() === line)
22873 }
22874 findStumpParticlesByChild(line) {
22875 return this.topDownArray.filter(particle => particle.doesExtend("htmlTagParser") && particle.hasLine(line))
22876 }

Callers

nothing calls this directly

Calls 2

getSubparticlesMethod · 0.80
getLineMethod · 0.45

Tested by

no test coverage detected