GoLang SplQueue::dequeue

request it (42)
GoLang replacement for PHP's SplQueue::dequeue [edit | history]



Do you know a GoLang replacement for PHP's SplQueue::dequeue? Write it!

PHP SplQueue::dequeue

PHP original manual for SplQueue::dequeue [ show | php.net ]

SplQueue::dequeue

(PHP 5 >= 5.3.0, PHP 7)

SplQueue::dequeueDequeues a node from the queue

Description

mixed SplQueue::dequeue ( void )

Dequeues value from the top of the queue.

Note:

SplQueue::dequeue() is an alias of SplDoublyLinkedList::shift().

Parameters

This function has no parameters.

Return Values

The value of the dequeued node.