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.