 
      
      queue::isempty()Check whether the size of the Queue is empty or not
queue::isempty()There are no parameters.
boolean — Returns true if the size of the Queue is empty, and returns false if otherwise
import adt/queue
 
queue = queue()
 
queue.push(10)
queue.push(12)
queue.push(8)
 
while !queue.isempty()
    writeln(queue.pop())
endwhile