pub fn pop(self: *Self) ?T
Remove and return the highest priority element from the queue. Returns null if empty.
null
self: *Self
88 89 90
pub fn pop(self: *Self) ?T { return if (self.items.len > 0) self.popIndex(0) else null; }
Remove and return the highest priority element from the queue. Returns
nullif empty.