popHead

fun popHead(): <Error class: unknown class>?

Removes the first element of the queue and returns its data.

Return

the data of the first element in the queue, or null if the queue is empty