Pike v8.1 release 6

Method ADT.Queue()->peek()


Method peek

mixed peek()

Description

Returns the next element from the queue without removing it from the queue. Returns 0 if the queue is empty.