takeFirst

expect fun <T> MutableList<T>.takeFirst(): T?

Removes and returns the first element of this list, or null if the list is empty.

actual fun <T> MutableList<T>.takeFirst(): T?

Removes and returns the first element of this list, or null if the list is empty.

actual fun <T> MutableList<T>.takeFirst(): T?

Removes and returns the first element of this list, or null if the list is empty.