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

Method asGrid

external/.scrollLibs.js:16147–16152  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

16145 return JSON.stringify({ subparticles: this.map(subparticle => subparticle._toObjectForSerialization()) }, null, " ")
16146 }
16147 get asGrid() {
16148 const AtomBreakSymbol = this.atomBreakSymbol
16149 return this.toString()
16150 .split(this.particleBreakSymbol)
16151 .map(line => line.split(AtomBreakSymbol))
16152 }
16153 get asGridJson() {
16154 return JSON.stringify(this.asGrid, null, 2)
16155 }

Callers

nothing calls this directly

Calls 3

toStringMethod · 0.95
mapMethod · 0.80
splitMethod · 0.80

Tested by

no test coverage detected