inc ()
inc
(
x
)
:
number
Increments a number by 1.
Parameters
x
:
number
The number to increment
Returns
number
The number incremented by 1
Example
inc
(
5
)
// 6
Back to index
Increments a number by 1.