Dictionary
extension Dictionary
extension Dictionary where Key == String, Value == String?
-
Returns the combination with the
other
dictionary.If a key exists in both, the value in
other
wins and is used./Declaration
Swift
public func combine(_ other: Dictionary) -> Dictionary
Parameters
other
Another dictionary with the same type which should merged into a new one
Return Value
New dictionary holding the merge result of
self
andother
-
Returns a new dictionary whithout
nil
values.Declaration
Swift
public var trimmingNullValues: [String : String] { get }