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

Method lengthen

external/.scrollLibs.js:15786–15793  ·  view source on GitHub ↗
(numberOfLines)

Source from the content-addressed store, hash-verified

15784 return this
15785 }
15786 lengthen(numberOfLines) {
15787 let linesToAdd = numberOfLines - this.numberOfLines
15788 while (linesToAdd > 0) {
15789 this.appendLine("")
15790 linesToAdd--
15791 }
15792 return this
15793 }
15794 toSideBySide(particlesOrStrings, delimiter = " ") {
15795 particlesOrStrings = particlesOrStrings.map(particle => (particle instanceof Particle ? particle : new Particle(particle)))
15796 const clone = this.toParticle()

Callers 1

toSideBySideMethod · 0.80

Calls 1

appendLineMethod · 0.95

Tested by

no test coverage detected