MCPcopy Index your code
hub / github.com/wavetermdev/waveterm / counterInc

Function counterInc

frontend/app/store/counters.ts:10–14  ·  view source on GitHub ↗
(name: string, incAmt: number = 1)

Source from the content-addressed store, hash-verified

8}
9
10function counterInc(name: string, incAmt: number = 1) {
11 let count = Counters.get(name) ?? 0;
12 count += incAmt;
13 Counters.set(name, count);
14}
15
16function countersPrint() {
17 let outStr = "";

Callers 1

block.tsxFile · 0.90

Calls 2

getMethod · 0.80
setMethod · 0.80

Tested by

no test coverage detected