Not as pretty: ``` data .filter { it.hasErrors...
# announcements
z
Not as pretty:
Copy code
data
    .filter { it.hasErrors }
    .map { it.error }
    .takeIf { it is MyException }
    ?.let { dealWith(it) }
👍 2
a
dealWith(it) 😎
z
😉