MCPcopy
hub / github.com/tinyplex/tinybase / delCell

Function delCell

src/store/index.ts:924–928  ·  view source on GitHub ↗
(cellId: Id)

Source from the content-addressed store, hash-verified

922 (whileMutating(() => middleware[10]?.(tableId, rowId, cellId)) ?? true)
923 ) {
924 const delCell = (cellId: Id) => {
925 cellChanged(tableId, rowId, cellId, mapGet(row, cellId));
926 cellIdsChanged(tableId, rowId, cellId, -1);
927 mapSet(row, cellId);
928 };
929 if (isUndefined(defaultCell)) {
930 delCell(cellId);
931 } else {

Callers 2

setOrDelCellFunction · 0.70
delValidCellFunction · 0.70

Calls 7

mapGetFunction · 0.90
mapSetFunction · 0.90
collHasFunction · 0.90
cellChangedFunction · 0.70
cellIdsChangedFunction · 0.70
fluentTransactionFunction · 0.70
delValidCellFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…