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

Function hasTableCell

src/store/index.ts:1543–1544  ·  view source on GitHub ↗
(tableId: Id, cellId: Id)

Source from the content-addressed store, hash-verified

1541 const hasTable = (tableId: Id): boolean => collHas(tablesMap, id(tableId));
1542
1543 const hasTableCell = (tableId: Id, cellId: Id): boolean =>
1544 collHas(mapGet(tableCellIds, id(tableId)), id(cellId));
1545
1546 const hasRow = (tableId: Id, rowId: Id): boolean =>
1547 collHas(mapGet(tablesMap, id(tableId)), id(rowId));

Callers 2

createStoreFunction · 0.70
GettersFunction · 0.50

Calls 3

collHasFunction · 0.90
mapGetFunction · 0.90
idFunction · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…