MCPcopy Create free account
hub / github.com/curran/screencasts / binaryIndex

Function binaryIndex

introToChiasm/examples/code/latest/main-build.js:3395–3413  ·  view source on GitHub ↗

* Performs a binary search of `array` to determine the index at which `value` * should be inserted into `array` in order to maintain its sort order. * * @private * @param {Array} array The sorted array to inspect. * @param {*} value The value to evaluate. * @param {bool

(array, value, retHighest)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 3

createSortedIndexFunction · 0.70
indexOfFunction · 0.70
lastIndexOfFunction · 0.70

Calls 1

binaryIndexByFunction · 0.70

Tested by

no test coverage detected