(value: V)
| 248 | // so i have the feeling there is a common pattern here and we can implement both cases using that pattern |
| 249 | |
| 250 | #findIndex(value: V): number { |
| 251 | return binarySearch(this.#sortedValues, indexedValue(value, ``), (a, b) => |
| 252 | this.#comparator(getValue(a), getValue(b)), |
| 253 | ) |
| 254 | } |
| 255 | } |
no test coverage detected