addAndGet

Native
1.3
fun addAndGet(delta: Long): Long
fun addAndGet(delta: Int): Long

Increments the value by delta and returns the new value.

Parameters

delta - the value to add

Return the new value