peek

fun peek(): ERROR CLASS: Symbol not found for JsAny(source)

Returns the item at the front of the queue. Returns undefined if the queue is empty.

Return

The item at the front of the queue.

See also