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

Function useHasTable

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

Source from the content-addressed store, hash-verified

675 );
676
677export const useHasTable: typeof useHasTableDecl = (
678 tableId: Id,
679 storeOrStoreId?: StoreOrStoreId,
680): boolean =>
681 useListenable(
682 TABLE,
683 useStoreOrStoreById(storeOrStoreId),
684 ReturnType.Boolean,
685 [tableId],
686 );
687
688export const useTable: typeof useTableDecl = (
689 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…