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

Method isFirst

external/.scrollLibs.js:16206–16208  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

16204 return this.index === this.parent.length - 1
16205 }
16206 get isFirst() {
16207 return this.index === 0
16208 }
16209 getFrom(prefix) {
16210 const hit = this.filter(particle => particle.getLine().startsWith(prefix))[0]
16211 if (hit) return hit.getLine().substr((prefix + this.atomBreakSymbol).length)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected