MCPcopy 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 */
710export const increment = (n: number): number => sum(n, 1)
711
712/**
713 * Decrements a number by `1`.

Callers

nothing calls this directly

Calls 1

sumFunction · 0.50

Tested by

no test coverage detected