pub fn binary_search(high: usize, compare: impl Fn(usize) -> Ordering) -> usizeExpand description
binarySearch(high, compare) (shared/src/binary-search.ts): the index
where compare is equal, or the first index past the elements it is
greater for.