Code
Hub
Trending
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/Effect-TS/effect
/ increment
Function
increment
packages/effect/src/MutableRef.ts:136–136 ·
view source on GitHub ↗
(self: MutableRef<number>)
Source
from the content-addressed store, hash-verified
134
* @category numeric
135
*/
136
export
const
increment = (self: MutableRef<number>): MutableRef<number> => update(self, (n) => n + 1)
137
138
/**
139
* @since 2.0.0
Callers
nothing calls this directly
Calls
1
update
Function · 0.50
Tested by
no test coverage detected