Eric O'Connell
doIfNull
fun <T> T?.orElse(ifNull: () -> Unit): T? { if (this == null) { ifNull() } return this }