Is it planned a `dropLastOrEmpty` (or `dropLastOrN...
# stdlib
j
Is it planned a
dropLastOrEmpty
(or
dropLastOrNull
?
I would expect it to crash, thank you!
e
.takeIf { it.isNotEmpty() }
⇒
.ifEmpty { null }