UNPKG

@phensley/cldr-utils

Version:
6 lines (5 loc) 218 B
/** * Binary search the array for the element N. Return the index of the number * in the array, or the index of the number preceeding it. */ export declare const binarySearch: (nums: number[], n: number) => number;