Implicit return from lambda in Kotlin : <p>It seems that the last line of a lambda always returns that value even if you omit the <code>return</code> statement. Is this correct? Is it documented anywhere?</p>

<pre><code>fun main(args: Array&lt;String&gt;) {
    val nums = arrayOf(1, 2, 3)
    val numsPlusOne = nums.map { it -&gt; 
        val r = it + 1
        r
    }
    // numsPlusOne = [2, 3, 4]
}
</code></pre>
