bisect method

int bisect (
  1. E element,
  2. {int compare(
    1. E,
    2. E
    ),
  3. int low,
  4. int high}
)

Just and alias for bisectRight.

Implementation

int bisect(E element, {int Function(E, E) compare, int low, int high}) =>
    bisectRight(element, compare: compare, low: low, high: high);