title: Simple and nice way to increment nullable Int in Kotlin
body: <p>What is the simplest and best readable way to increment nullable Int in Kotlin? Is there any other way than doing this?</p>
  
  <pre><code>var myInt: Int? = 3
  myInt = if(myInt!=null) myInt+1 else null
  </code></pre>
  
  <p>This is quite fine if myInt is simple variable, but it can grow very long when myInt is some longer expression.</p>