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

Function getCell

docs/pseudo.esm.sh/tinybase@9.0.0/ui-solid-inspector/index.js:2359–2361  ·  view source on GitHub ↗
(tableId, rowId, cellId)

Source from the content-addressed store, hash-verified

2357 const getRow = (tableId, rowId) => mapToObj(mapGet(mapGet(tablesMap, id(tableId)), id(rowId)), decodeIfJson);
2358 const getCellIds = (tableId, rowId) => mapKeys(mapGet(mapGet(tablesMap, id(tableId)), id(rowId)));
2359 const getCell = (tableId, rowId, cellId) => decodeIfJson(
2360 mapGet(mapGet(mapGet(tablesMap, id(tableId)), id(rowId)), id(cellId))
2361 );
2362 const getValues = () => mapToObj(valuesMap, decodeIfJson);
2363 const getValueIds = () => mapKeys(valuesMap);
2364 const getValue3 = (valueId) => decodeIfJson(mapGet(valuesMap, id(valueId)));

Callers 3

getCellChangeFunction · 0.70
setCellFunction · 0.70
createStoreFunction · 0.70

Calls 3

decodeIfJsonFunction · 0.70
mapGetFunction · 0.70
idFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…