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

Function getValue

src/store/index.ts:1536–1537  ·  view source on GitHub ↗
(valueId: Id)

Source from the content-addressed store, hash-verified

1534 const getValueIds = (): Ids => mapKeys(valuesMap);
1535
1536 const getValue = (valueId: Id): ValueOrUndefined =>
1537 decodeIfJson(mapGet(valuesMap, id(valueId)));
1538
1539 const hasTables = (): boolean => !collIsEmpty(tablesMap);
1540

Callers 4

getValueChangeFunction · 0.70
setValueFunction · 0.70
createStoreFunction · 0.70
GettersFunction · 0.50

Calls 3

decodeIfJsonFunction · 0.90
mapGetFunction · 0.90
idFunction · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…