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

Method getParentFirstArray

external/.scrollLibs.js:15949–15956  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

15947 return this._getStack(relativeTo).length
15948 }
15949 getParentFirstArray() {
15950 const levels = this._getLevels()
15951 const arr = []
15952 Object.values(levels).forEach(level => {
15953 level.forEach(item => arr.push(item))
15954 })
15955 return arr
15956 }
15957 _getLevels() {
15958 const levels = {}
15959 this.topDownArray.forEach(particle => {

Callers

nothing calls this directly

Calls 2

_getLevelsMethod · 0.95
forEachMethod · 0.80

Tested by

no test coverage detected