Is there a slightly more elegant way to do this: `...
# announcements
f
Is there a slightly more elegant way to do this:
fun blankToNull(str: String?) = if (str.isNullOrBlank()) null else str
?