Skip to content

Decrement

Decrement(x)
x--

decrements x by 1, returning the original value of x.

Examples

>> a = 5
>> a--
5
>> a
4

Implementation status

  • ✅ - full supported

Github