Functions

binarySearch

function binarySearch(array,
lower,
upper,
key)

Parameters

arraythe array to search
lowerthe lower bound (0 when whole array)
upperthe upper bound (array.len when whole array)
keywhat you’re searching for
function binarySearch(array,
lower,
upper,
key)