HomeManualTopicsTypesSymbols
std::inc
adds the number 1 to the specified value
Parameter
- value
- the value to increase
Result
- value
- the value increased by 1
Example
println! inc(123)
Output
124
Topic
Math
See also
std::dec |
subtracts the number 1 from the specified value |
std::plus |
add two numbers of any kind |