MCPcopy Create free account
hub / github.com/Noumena-Network/code / increment

Function increment

src/utils/contextAnalysis.ts:191–193  ·  view source on GitHub ↗
(map: Map<string, number>, key: string, value: number)

Source from the content-addressed store, hash-verified

189}
190
191function increment(map: Map<string, number>, key: string, value: number): void {
192 map.set(key, (map.get(key) || 0) + value)
193}
194
195export function tokenStatsToStatsigMetrics(
196 stats: TokenStats,

Callers 1

processBlockFunction · 0.70

Calls 2

setMethod · 0.80
getMethod · 0.45

Tested by

no test coverage detected