``` fun foo(): String { val x = null as...
# getting-started
f
Copy code
fun foo(): String {
        val x = null as String     // this is OK
        return x
    }