i think you could do: ```when (func()) { n...
# announcements
k
i think you could do:
Copy code
when (func()) {
        null -> `do something`()
        else -> `do something else`()
    }
if it more readable for you