lowerBound MethodProtected
Computes the position at which the specified value should be inserted to maintain sorted order.
lowerBound(value: T): { equal: boolean, index: number }
Parameter | Type | Description |
---|---|---|
value | T | The value whose position is to be computed. |
Returns - { equal: boolean, index: number }
an object with 'index' corresponding to the computed position and 'equal' set to true if an equivalent element already exists at that index.
Defined in
- core/bentley/src/SortedArray.ts Line 208
Last Updated: 30 November, 2023