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

Function getValue

docs/pseudo.esm.sh/tinybase@9.0.0/ui-react-inspector/index.js:2259–2259  ·  view source on GitHub ↗
(valueId)

Source from the content-addressed store, hash-verified

2257 const getValues = () => mapToObj(valuesMap, decodeIfJson);
2258 const getValueIds = () => mapKeys(valuesMap);
2259 const getValue = (valueId) => decodeIfJson(mapGet(valuesMap, id(valueId)));
2260 const hasTables = () => !collIsEmpty(tablesMap);
2261 const hasTable = (tableId) => collHas(tablesMap, id(tableId));
2262 const hasTableCell = (tableId, cellId) => collHas(mapGet(tableCellIds, id(tableId)), id(cellId));

Callers 3

getValueChangeFunction · 0.70
setValueFunction · 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…