bernhard
letElse
inline fun <T, R> T.let(block: (T) -> R?, elseBlock: () -> R?): R? { return if (this != null) block(this) else elseBlock() }