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

Function delCell

docs/pseudo.esm.sh/tinybase@9.0.0/index.js:2087–2106  ·  view source on GitHub ↗
(tableId, rowId, cellId, forceDel, skipMiddleware)

Source from the content-addressed store, hash-verified

2085 rowId
2086 );
2087 const delCell = (tableId, rowId, cellId, forceDel, skipMiddleware) => fluentTransaction(
2088 (tableId2, rowId2, cellId2) => ifNotUndefined(
2089 mapGet(tablesMap, tableId2),
2090 (tableMap) => ifNotUndefined(
2091 mapGet(tableMap, rowId2),
2092 (rowMap) => collHas(rowMap, cellId2) ? delValidCell(
2093 tableId2,
2094 tableMap,
2095 rowId2,
2096 rowMap,
2097 cellId2,
2098 forceDel,
2099 skipMiddleware
2100 ) : 0
2101 )
2102 ),
2103 tableId,
2104 rowId,
2105 cellId
2106 );
2107 const delValues = () => fluentTransaction(
2108 () => whileMutating(() => middleware[11]?.()) ?? true ? setValidValues({}, true) : 0
2109 );

Callers 1

setOrDelCellFunction · 0.70

Calls 4

fluentTransactionFunction · 0.70
mapGetFunction · 0.70
collHasFunction · 0.70
delValidCellFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…