Skip to content

Decrement Operator

IsaacShelton edited this page Mar 21, 2022 · 1 revision

-- Operator

The -- operator is used for subtracting one to a numeric type and storing the result.

If used after the mutable expression, the expression will evaluate to the value of the expression before one was subtracted

variable--

If used before the mutable expression, the expression will evaluate to the value of the expression after one was subtracted

--variable
Clone this wiki locally