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

Function useHasValues

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

Source from the content-addressed store, hash-verified

680];
681
682export const useHasValues = (
683 storeOrStoreId?: MaybeAccessor<StoreOrStoreId | undefined>,
684): Accessor<boolean> =>
685 useListenable(
686 VALUES,
687 useStoreOrStoreById(storeOrStoreId),
688 ReturnType.Boolean,
689 [],
690 );
691
692export const useValues = (
693 storeOrStoreId?: MaybeAccessor<StoreOrStoreId | undefined>,

Callers 3

ReaderFunction · 0.90
primitives.test.tsFile · 0.90
ValuesActionsFunction · 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…