Thanks Hector, but I realised my example was a lit...
# getting-started
n
Thanks Hector, but I realised my example was a little too simple. Here is a more accurate one:
Copy code
fun f(int : Int?) : String? = when(int) {
    null -> null
    else -> "answer = ${int.plus(3)}"
}