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

Function getCellIds

src/ui-svelte/functions.svelte.ts:447–455  ·  view source on GitHub ↗
(
  tableId: MaybeGetter<Id>,
  rowId: MaybeGetter<Id>,
  storeOrStoreId?: MaybeGetter<Store | Id | undefined>,
)

Source from the content-addressed store, hash-verified

445 ]);
446
447export const getCellIds = (
448 tableId: MaybeGetter<Id>,
449 rowId: MaybeGetter<Id>,
450 storeOrStoreId?: MaybeGetter<Store | Id | undefined>,
451): {readonly current: Ids} =>
452 createListenable(resolveStore(storeOrStoreId), CELL_IDS, EMPTY_ARR, () => [
453 maybeGet(tableId),
454 maybeGet(rowId),
455 ]);
456
457export const hasCell = (
458 tableId: MaybeGetter<Id>,

Callers

nothing calls this directly

Calls 3

createListenableFunction · 0.70
resolveStoreFunction · 0.70
maybeGetFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…