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

Method getSiblings

external/.scrollLibs.js:15308–15311  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

15306 return this.parent.slice(this.index + 1)
15307 }
15308 getSiblings() {
15309 if (this.isRoot()) return []
15310 return this.parent.filter(particle => particle !== this)
15311 }
15312 _getUid() {
15313 if (!this._uid) this._uid = Particle._makeUniqueId()
15314 return this._uid

Callers

nothing calls this directly

Calls 2

isRootMethod · 0.95
filterMethod · 0.45

Tested by

no test coverage detected