PreDecrement

WMA link


PreDecrement[x]

--x

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

--a is equivalent to a = a - 1:

Compare with Decrement which returns the updated value, and Increment which goes the other way.

Increment
PreIncrement