fn put(self: *Self, allocator: Allocator, key: K, value: V) Allocator.Error!void

Insert an entry if the associated key is not already present, otherwise update preexisting value.

Parameters

self: *Self,
allocator: Allocator,
key: K,
value: V,