ifTrue

inline fun <T : Boolean?, R> T.ifTrue(function: () -> R): R?