(from: number, loopTo: number, array: any[])
| 35 | * before the stable sort, the later of two equal rows comes first */ |
| 36 | function secondaryDuplicatesFirst(rows: any[], key: ITableKey): any[] { |
| 37 | if (key.type === TableAccessType.sorted && key.isUnique !== true) { |
| 38 | rows.reverse(); |
| 39 | } |
| 40 | return rows; |
| 41 | } |
| 42 | |
| 43 | export class LoopController { |
| 44 | public index: number; |
nothing calls this directly
no outgoing calls
no test coverage detected