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

Method _toObject

external/.scrollLibs.js:16006–16013  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

16004 return newObject
16005 }
16006 _toObject() {
16007 const obj = {}
16008 this.forEach(particle => {
16009 const tuple = particle._toObjectTuple()
16010 obj[tuple[0]] = tuple[1]
16011 })
16012 return obj
16013 }
16014 get asHtml() {
16015 return this._subparticlesToHtml(0)
16016 }

Callers 1

toObjectMethod · 0.95

Calls 2

forEachMethod · 0.95
_toObjectTupleMethod · 0.80

Tested by

no test coverage detected