Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/Effect-TS/effect
/ increment
Function
increment
packages/effect/src/Number.ts:710–710 ·
view source on GitHub ↗
(n: number)
Source
from the content-addressed store, hash-verified
708
* ```
709
*/
710
export
const
increment = (n: number): number => sum(n, 1)
711
712
/**
713
* Decrements a number by `1`.
Callers
nothing calls this directly
Calls
1
sum
Function · 0.50
Tested by
no test coverage detected