binarySearchIndex method

int binarySearchIndex(
  1. D value
)

Returns the index of value using binary search, or -1 if not found.

Requires IDs to be sorted using compare.

Implementation

int binarySearchIndex(D value) =>
    _Comparer.binarySearchIndex(_ids, value, compare);