(arr: T[])
| 135 | } |
| 136 | |
| 137 | splitToRows<T>(arr: T[]): T[][] { |
| 138 | arr = [...arr]; |
| 139 | const res: T[][] = []; |
| 140 | while (arr.length > 0) { |
| 141 | res.push(arr.splice(-3)); |
| 142 | } |
| 143 | return res; |
| 144 | } |
| 145 | |
| 146 | reversed<T>(arr: T[]): T[] { |
| 147 | arr.reverse(); |
nothing calls this directly
no outgoing calls
no test coverage detected