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

Function useHasRow

src/ui-react/hooks.ts:777–785  ·  view source on GitHub ↗
(
  tableId: Id,
  rowId: Id,
  storeOrStoreId?: StoreOrStoreId,
)

Source from the content-addressed store, hash-verified

775 );
776
777export const useHasRow: typeof useHasRowDecl = (
778 tableId: Id,
779 rowId: Id,
780 storeOrStoreId?: StoreOrStoreId,
781): boolean =>
782 useListenable(ROW, useStoreOrStoreById(storeOrStoreId), ReturnType.Boolean, [
783 tableId,
784 rowId,
785 ]);
786
787export const useRow: typeof useRowDecl = (
788 tableId: Id,

Callers 3

ReaderFunction · 0.90
GettersFunction · 0.50
GettersFunction · 0.50

Calls 2

useStoreOrStoreByIdFunction · 0.90
useListenableFunction · 0.70

Tested by 1

ReaderFunction · 0.72

Used in the wild real call sites across dependent graphs

searching dependent graphs…