runIf

inline fun <T, R> T.runIf(condition: Boolean, block: T.() -> R): R?