rc-js-util
Version:
A collection of TS and C++ utilities to help writing performant and correct applications, achieved through strict typing and (removable) invariant checking.
21 lines (11 loc) • 781 B
Markdown
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) > [rc-js-util](./rc-js-util.md) > [\_Array](./rc-js-util._array.md) > [binaryLastIndexOf](./rc-js-util._array.binarylastindexof.md)
## \_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:**
```typescript
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()](./rc-js-util.arraybinarylastindexof.md)<!-- -->.