removeFirstOrNull
@ExperimentalStdlibApi fun <T> MutableList<T>.removeFirstOrNull(): T?
Removes the first element from this mutable list and returns that removed element, or returns null
if this list is empty.
@ExperimentalStdlibApi fun <T> MutableList<T>.removeFirstOrNull(): T?
Removes the first element from this mutable list and returns that removed element, or returns null
if this list is empty.