MCPcopy Create free account
hub / github.com/tinyplex/tinybase / useHasValues

Function useHasValues

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

Source from the content-addressed store, hash-verified

851];
852
853export const useHasValues: typeof useHasValuesDecl = (
854 storeOrStoreId?: StoreOrStoreId,
855): boolean =>
856 useListenable(
857 VALUES,
858 useStoreOrStoreById(storeOrStoreId),
859 ReturnType.Boolean,
860 [],
861 );
862
863export const useValues: typeof useValuesDecl = (
864 storeOrStoreId?: StoreOrStoreId,

Callers 4

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