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