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

Function hasCell

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

Source from the content-addressed store, hash-verified

1547 collHas(mapGet(tablesMap, id(tableId)), id(rowId));
1548
1549 const hasCell = (tableId: Id, rowId: Id, cellId: Id): boolean =>
1550 collHas(mapGet(mapGet(tablesMap, id(tableId)), id(rowId)), id(cellId));
1551
1552 const hasValues = (): boolean => !collIsEmpty(valuesMap);
1553

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…