(rowId1: Id, rowId2: Id)
| 167 | } |
| 168 | collForEach(unsortedSlices, (sliceId) => { |
| 169 | const rowIdArraySorter = (rowId1: Id, rowId2: Id): number => |
| 170 | ( |
| 171 | rowIdSorter as ( |
| 172 | sortKey1: SortKey, |
| 173 | sortKey2: SortKey, |
| 174 | sliceId: Id, |
| 175 | ) => number |
| 176 | )( |
| 177 | mapGet(sortKeys, rowId1) as SortKey, |
| 178 | mapGet(sortKeys, rowId2) as SortKey, |
| 179 | sliceId, |
| 180 | ); |
| 181 | const sliceArray = [...(mapGet(index, sliceId) as IdSet)]; |
| 182 | if (!arrayIsSorted(sliceArray, rowIdArraySorter)) { |
| 183 | mapSet( |
nothing calls this directly
no test coverage detected
searching dependent graphs…