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

Function useHasCell

src/ui-react/hooks.ts:818–828  ·  view source on GitHub ↗
(
  tableId: Id,
  rowId: Id,
  cellId: Id,
  storeOrStoreId?: StoreOrStoreId,
)

Source from the content-addressed store, hash-verified

816 );
817
818export const useHasCell: typeof useHasCellDecl = (
819 tableId: Id,
820 rowId: Id,
821 cellId: Id,
822 storeOrStoreId?: StoreOrStoreId,
823): boolean =>
824 useListenable(CELL, useStoreOrStoreById(storeOrStoreId), ReturnType.Boolean, [
825 tableId,
826 rowId,
827 cellId,
828 ]);
829
830export const useCell: typeof useCellDecl = (
831 tableId: Id,

Callers 4

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