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

Function hasRow

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

Source from the content-addressed store, hash-verified

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));
1548
1549 const hasCell = (tableId: Id, rowId: Id, cellId: Id): boolean =>
1550 collHas(mapGet(mapGet(tablesMap, id(tableId)), id(rowId)), id(cellId));

Callers 3

createStoreFunction · 0.70
GettersFunction · 0.50
processRowFunction · 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…