fun foo(p: List, b: Boolean) { var v: String? = p[0] ?: return if (b) v = null }