Map.insert

Insert an element in the container, if the container doesn't already contain an element with equivalent key.

struct Map(K, V, alias less = "a < b", bool allowDuplicates = false)
nothrow @nogc
bool
insert
(
K key
,)

Return Value

Type: bool

true if the insertion took place.

Meta