pub fn peek(self: *const Self) ?T
Look at the highest priority element in the queue. Returns null if empty.
null
self: *const Self
82 83 84
pub fn peek(self: *const Self) ?T { return if (self.items.len > 0) self.items[0] else null; }
Look at the highest priority element in the queue. Returns
nullif empty.