popNth

fun popNth(n: <Error class: unknown class>): <Error class: unknown class>?

Removes the @n'th element of @queue and returns its data.

Return

the element's data, or null if @n is off the end of @queue

Since

2.4

Parameters

n

the position of the element