MCPcopy Create free account
hub / github.com/LeetCode-OpenSource/ayanami / add

Method add

demo/index.tsx:44–46  ·  view source on GitHub ↗
(state: State, count: number)

Source from the content-addressed store, hash-verified

42
43 @Reducer()
44 add(state: State, count: number): State {
45 return { ...state, count: state.count + count }
46 }
47
48 @Reducer()
49 addOne(state: State): State {

Callers 4

constructorMethod · 0.45
SSRModuleFunction · 0.45
minusMethod · 0.45
addFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected