(targetRank: RankLike, direction: SortDirection)
| 299 | } |
| 300 | |
| 301 | function rankAfterInDisplay(targetRank: RankLike, direction: SortDirection): RankLike { |
| 302 | return direction === "asc" ? safeGenNext(targetRank) : safeGenPrev(targetRank); |
| 303 | } |
| 304 | |
| 305 | function betweenInDisplayOrder( |
| 306 | leftRank: RankLike, |
no test coverage detected