MCPcopy Index your code
hub / github.com/tinyplex/tinybase / arraySort

Function arraySort

docs/pseudo.esm.sh/tinybase@9.0.0/index.js:89–89  ·  view source on GitHub ↗
(array, sorter)

Source from the content-addressed store, hash-verified

87 (value, index) => index == 0 || sorter(array[index - 1], value) <= 0
88);
89var arraySort = (array, sorter) => array.sort(sorter);
90var arrayForEach = (array, cb) => array.forEach(cb);
91var arrayMap = (array, cb) => array.map(cb);
92var arraySum = (array) => arrayReduce(array, (i, j) => i + j, 0);

Callers 2

setIndexDefinitionFunction · 0.70
getSortedRowIdsFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…