Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Effect-TS/effect
/ increment
Function
increment
packages/effect/src/Number.ts:229–229 ·
view source on GitHub ↗
(n: number)
Source
from the content-addressed store, hash-verified
227
* @since 2.0.0
228
*/
229
export
const
increment = (n: number): number => n + 1
230
231
/**
232
* Decrements a number by `1`.
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected