HashMap.addIfMissed

Add key/value to hash if key is not in table. value can be lazy/callable.

struct HashMap(K, V, Allocator = Mallocator, bool GCRangesAllowed = true)
bool
addIfMissed
(
T
)
(
K k
,)

Return Value

Type: bool

true if key were added.

Meta