``` val x: List<Double?> = listOf(1.0, n...
# announcements
l
Copy code
val x: List<Double?> = listOf(1.0, null, 3.0)
    val y: List<Double> = x.filter { it != null }
this doesn't work but how can i get a list of optionals to be non-optional as far as the compiler is concerned?