MCPcopy
hub / github.com/tinyplex/tinybase / mapGet

Function mapGet

src/common/map.ts:24–27  ·  view source on GitHub ↗
(
  map: Map<Key, Value> | undefined,
  key: Key,
)

Source from the content-addressed store, hash-verified

22];
23
24export const mapGet = <Key, Value>(
25 map: Map<Key, Value> | undefined,
26 key: Key,
27): Value | undefined => map?.get(key);
28
29export const mapForEach = <Key, Value>(
30 map: Map<Key, Value> | undefined,

Callers 15

resetPreStoresFunction · 0.90
delSourceStoreListenersFunction · 0.90
resetSourceStoresFunction · 0.90
groupFunction · 0.90
setQueryDefinitionImplFunction · 0.90
writeGroupRowFunction · 0.90
getJoinCellFunction · 0.90
listenToTableFunction · 0.90
rootRowChangedFunction · 0.90
delListenerFunction · 0.90
updateStoreFunction · 0.90
setCheckpointFunction · 0.90

Calls 1

getMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…