(header, rowsAsStrings)
| 17470 | return this.setSubparticles(this.toDelimited(delimiter)) |
| 17471 | } |
| 17472 | addUniqueRowsToNestedDelimited(header, rowsAsStrings) { |
| 17473 | if (!this.length) this.appendLine(header) |
| 17474 | // todo: this looks brittle |
| 17475 | rowsAsStrings.forEach(row => { |
| 17476 | if (!this.toString().includes(row)) this.appendLine(row) |
| 17477 | }) |
| 17478 | return this |
| 17479 | } |
| 17480 | shiftLeft() { |
| 17481 | const grandParent = this._getGrandParent() |
| 17482 | if (!grandParent) return this |
no test coverage detected