+=(_:_:)

public func += <KeyType, ValueType> (inout left: Dictionary<KeyType, ValueType>, right: Dictionary<KeyType, ValueType>)

Merge two dictionaries. Values are updated or added to the dictionary on the left.

Parameter

Parameter left: Dictionary 1

Parameter

Parameter right: Dictionary 2

Returns

Dictionary
  • Undocumented

    Declaration

    Swift

    public func += <KeyType, ValueType> (inout left: Dictionary<KeyType, ValueType>, right: Dictionary<KeyType, ValueType>)