Home > rc-js-util > _Array > binaryIndexOf
Performs a bisection search of an ‘indexable’ object, i.e. can be accessed by index, for example Array
. Custom data structures are also supported.
Signature:
static readonly binaryIndexOf: typeof arrayBinaryIndexOf;
The indexable
parameter must be sorted ascending. Where there are multiple equal values the lowest index will be returned.
See arrayBinaryIndexOf().