MCPcopy Create free account
hub / github.com/tinyplex/tinybase / rowIdArraySorter

Function rowIdArraySorter

docs/pseudo.esm.sh/tinybase@9.0.0/index.js:873–877  ·  view source on GitHub ↗
(rowId1, rowId2)

Source from the content-addressed store, hash-verified

871 }
872 collForEach(unsortedSlices, (sliceId) => {
873 const rowIdArraySorter = (rowId1, rowId2) => rowIdSorter(
874 mapGet(sortKeys, rowId1),
875 mapGet(sortKeys, rowId2),
876 sliceId
877 );
878 const sliceArray = [...mapGet(index, sliceId)];
879 if (!arrayIsSorted(sliceArray, rowIdArraySorter)) {
880 mapSet(

Callers

nothing calls this directly

Calls 1

mapGetFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…