lowerBoundBy<K extends Comparable> method

Coral<int> lowerBoundBy<K extends Comparable>(
  1. E element,
  2. K keyOf(
    1. E element
    ), [
  3. int start = 0,
  4. int? end,
])

Returns the index where element should be in this sorted list.

Implementation

Coral<int> lowerBoundBy<K extends Comparable<dynamic>>(
        E element, K Function(E element) keyOf, [int start = 0, int? end]) =>
    _listCoral.map((list) => col.ListExtensions(list).lowerBoundByCompare<K>(
        element, keyOf, (a, b) => a.compareTo(b), start, end));