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

Function useHasTableCell

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

Source from the content-addressed store, hash-verified

544 );
545
546export const useHasTableCell = (
547 tableId: MaybeAccessor<Id>,
548 cellId: MaybeAccessor<Id>,
549 storeOrStoreId?: MaybeAccessor<StoreOrStoreId | undefined>,
550): Accessor<boolean> =>
551 useListenable(
552 TABLE + CELL,
553 useStoreOrStoreById(storeOrStoreId),
554 ReturnType.Boolean,
555 [tableId, cellId],
556 );
557
558export const useRowCount = (
559 tableId: MaybeAccessor<Id>,

Callers 1

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