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

Function useHasTables

src/ui-react/hooks.ts:646–654  ·  view source on GitHub ↗
(
  storeOrStoreId?: StoreOrStoreId,
)

Source from the content-addressed store, hash-verified

644): MergeableStore => useMemo(create, createDeps);
645
646export const useHasTables: typeof useHasTablesDecl = (
647 storeOrStoreId?: StoreOrStoreId,
648): boolean =>
649 useListenable(
650 TABLES,
651 useStoreOrStoreById(storeOrStoreId),
652 ReturnType.Boolean,
653 [],
654 );
655
656export const useTables: typeof useTablesDecl = (
657 storeOrStoreId?: StoreOrStoreId,

Callers 4

ReaderFunction · 0.90
TablesActionsFunction · 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…