decrement

abstract fun decrement(value: Number)

Decrements the MutableRealmInt, subtracting the value of the argument. Increment/decrement operations from all devices are reflected in the new value, which is guaranteed to converge. This operation should not be confused with the dec operator, which returns a new value whereas this one modifies the value itself.

Parameters

value

quantity to be subtracted from the MutableRealmInt.