addNew

If key is not in aa, add it with the given value, and return true. Otherwise, return false.

  1. bool addNew(V[K] aa, K key, V value)
  2. bool addNew(HashCollection!(K, V, ordered, multi) aa, K key, V value)
    bool
    addNew
    (
    K
    V
    bool ordered
    bool multi
    )
    (
    ref HashCollection!(K, V, ordered, multi) aa
    ,
    auto ref K key
    ,
    auto ref V value
    )
    if (
    !is(V == void)
    )

Meta