pub fn fetchRemove(self: *Self, key: K) ?KV
If there is an Entry with a matching key, it is deleted from the hash map, and then returned from this function.
Entry
self: *Self
key: K
938 939 940 941 942
pub fn fetchRemove(self: *Self, key: K) ?KV { if (@sizeOf(Context) != 0) @compileError("Cannot infer context " ++ @typeName(Context) ++ ", call fetchRemoveContext instead."); return self.fetchRemoveContext(key, undefined); }
If there is an
Entrywith a matching key, it is deleted from the hash map, and then returned from this function.