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

Function useHasRow

src/ui-solid/primitives.ts:606–614  ·  view source on GitHub ↗
(
  tableId: MaybeAccessor<Id>,
  rowId: MaybeAccessor<Id>,
  storeOrStoreId?: MaybeAccessor<StoreOrStoreId | undefined>,
)

Source from the content-addressed store, hash-verified

604 );
605
606export const useHasRow = (
607 tableId: MaybeAccessor<Id>,
608 rowId: MaybeAccessor<Id>,
609 storeOrStoreId?: MaybeAccessor<StoreOrStoreId | undefined>,
610): Accessor<boolean> =>
611 useListenable(ROW, useStoreOrStoreById(storeOrStoreId), ReturnType.Boolean, [
612 tableId,
613 rowId,
614 ]);
615
616export const useRow = (
617 tableId: MaybeAccessor<Id>,

Callers 2

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