Home > rc-js-util > _Array > binaryLastIndexOf
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 binaryLastIndexOf: typeof arrayBinaryLastIndexOf;
The indexable
parameter must be sorted ascending. Where there are multiple equal values the highest index will be returned.