I guess you would have to define it yourself: ```inline fun <T> T.alsoIfNull(block: () -> U...
a
I guess you would have to define it yourself:
Copy code
inline fun <T> T.alsoIfNull(block: () -> Unit): T {
    if (this == null) {
        block()
    }
    return this
}
👍 1