Isn't it better to write? ``` fun T?.ifPresent<...
# language-proposals
a
Isn't it better to write?
Copy code
fun T?.ifPresent<T : Any>(compute: (T) -> Unit): T? {
    if (this != null) compute(this)
    return this
}