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

Method getParticlesByLinePrefixes

external/.scrollLibs.js:17170–17177  ·  view source on GitHub ↗
(columns)

Source from the content-addressed store, hash-verified

17168 }
17169 // todo: remove?
17170 getParticlesByLinePrefixes(columns) {
17171 const matches = []
17172 this._getParticlesByLineRegex(
17173 matches,
17174 columns.map(str => new RegExp("^" + str))
17175 )
17176 return matches
17177 }
17178 particlesThatStartWith(prefix) {
17179 return this.filter(particle => particle.getLine().startsWith(prefix))
17180 }

Callers

nothing calls this directly

Calls 2

mapMethod · 0.80

Tested by

no test coverage detected