applyIf

inline fun <T> T.applyIf(condition: Boolean, block: T.() -> T): T