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

Method duplicate

external/.scrollLibs.js:17108–17110  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

17106 return this
17107 }
17108 duplicate() {
17109 return this.parent._insertBlock(this.toString(), this.index + 1)
17110 }
17111 trim() {
17112 // todo: could do this so only the trimmed rows are deleted.
17113 this.setSubparticles(this.subparticlesToString().trim())

Callers

nothing calls this directly

Calls 2

toStringMethod · 0.95
_insertBlockMethod · 0.80

Tested by

no test coverage detected