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

Function idsChanged

docs/pseudo.esm.sh/tinybase@9.0.0/index.js:1021–1025  ·  view source on GitHub ↗
(changedIds, id2, addedOrRemoved)

Source from the content-addressed store, hash-verified

1019var pairClone = (array) => [...array];
1020var pairIsEqual = ([entry1, entry2]) => entry1 === entry2;
1021var idsChanged = (changedIds, id2, addedOrRemoved) => mapSet(
1022 changedIds,
1023 id2,
1024 mapGet(changedIds, id2) == -addedOrRemoved ? void 0 : addedOrRemoved
1025);
1026var contentOrChangesIsEqual = ([tables1, values1], [tables2, values2]) => objIsEqual(tables1, tables2) && objIsEqual(values1, values2);
1027var createStore = () => {
1028 let hasTablesSchema;

Callers 4

tableIdsChangedFunction · 0.70
rowIdsChangedFunction · 0.70
cellIdsChangedFunction · 0.70
valueIdsChangedFunction · 0.70

Calls 2

mapSetFunction · 0.70
mapGetFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…