https://kotlinlang.org logo
i

ibcoleman

01/31/2018, 11:25 PM
nice. was just screwing around w/ the repl and found:
"".takeIf{ it.isNotBlank() }  ?: "bar"