kevinmost
.takeIfNotEmpty()
CharSequence
Collection
Array
Map
array.takeIfNotEmpty() ?: arrayOf(1, 2)