*<Null safety>*
int binarySearchByCompare <K>(E element, K keyOf(E element), int compare(K, K), [int start = 0, int? end])
int binarySearchByCompare<K>( E element, K Function(E element) keyOf, int Function(K, K) compare, [int start = 0, int? end]) => algorithms.binarySearchBy<E, K>( this, keyOf, compare, element, start, end);