Skip to content

ghoran / utils/src / searchBinaryForAyah

Function: searchBinaryForAyah()

searchBinaryForAyah<T>(sortedList, valueToFind, getValueToCompare, start, end): number

Type parameters

T

Parameters

sortedList: T[]

valueToFind: number

getValueToCompare= undefined

start: number= 0

end: number= undefined

Returns

number

Source

utils/src/binary-search.ts:1