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

Function hasTable

src/store/index.ts:1541–1541  ·  view source on GitHub ↗
(tableId: Id)

Source from the content-addressed store, hash-verified

1539 const hasTables = (): boolean => !collIsEmpty(tablesMap);
1540
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));

Callers 2

createStoreFunction · 0.70
GettersFunction · 0.50

Calls 2

collHasFunction · 0.90
idFunction · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…