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

Function useHasTables

src/ui-solid/primitives.ts:478–486  ·  view source on GitHub ↗
(
  storeOrStoreId?: MaybeAccessor<StoreOrStoreId | undefined>,
)

Source from the content-addressed store, hash-verified

476};
477
478export const useHasTables = (
479 storeOrStoreId?: MaybeAccessor<StoreOrStoreId | undefined>,
480): Accessor<boolean> =>
481 useListenable(
482 TABLES,
483 useStoreOrStoreById(storeOrStoreId),
484 ReturnType.Boolean,
485 [],
486 );
487
488export const useTables = (
489 storeOrStoreId?: MaybeAccessor<StoreOrStoreId | undefined>,

Callers 3

ReaderFunction · 0.90
primitives.test.tsFile · 0.90
TablesActionsFunction · 0.90

Calls 2

useListenableFunction · 0.70
useStoreOrStoreByIdFunction · 0.70

Tested by 1

ReaderFunction · 0.72

Used in the wild real call sites across dependent graphs

searching dependent graphs…