js-util

Home > rc-js-util > _Array > binaryLastIndexOf

_Array.binaryLastIndexOf property

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;

Remarks

The indexable parameter must be sorted ascending. Where there are multiple equal values the highest index will be returned.

See arrayBinaryLastIndexOf().