(separator=',')
| 12 | } |
| 13 | |
| 14 | toString(separator=',') { |
| 15 | let rows = this.rows.map(row => row.arr); |
| 16 | |
| 17 | if(!this.columns.some(column => column === null)){ |
| 18 | rows = [this.columns, ...rows]; |
| 19 | } |
| 20 | |
| 21 | return stringify(rows, { |
| 22 | separator |
| 23 | }); |
| 24 | } |
| 25 | |
| 26 | /** |
| 27 | * Use <a href="/reference/p5.Table/addRow/">addRow()</a> to add a new row of data to a <a href="#/p5.Table">p5.Table</a> object. By default, |
no test coverage detected