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

Method array

external/.tableSearch.js:52–54  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

50 return arr.map(line => line.map(cell => this.encodeCell(cell)).join(this.grammar.columnDelimiter)).join(this.grammar.rowDelimiter)
51 }
52 get array() {
53 return this.uriEncodedString.split(this.grammar.rowDelimiter).map(line => line.split(this.grammar.columnDelimiter).map(cell => this.decodeCell(cell)))
54 }
55 get object() {
56 const patchObj = {}
57 if (!this.uriEncodedString) return patchObj

Callers

nothing calls this directly

Calls 3

decodeCellMethod · 0.95
mapMethod · 0.80
splitMethod · 0.80

Tested by

no test coverage detected