``` inline infix fun <R: Any> R?.otherwise(a...
# announcements
d
Copy code
inline infix fun <R: Any> R?.otherwise(action: () -> R): R =
        if (this != null)
            this
        else
            action()
does that using of extension methods and generics is bad?