Dictionary
extension Dictionary
Extension of Dictionary type values
-
Performs a transform on the each value of a dictionary
Throws
the type ofOutValueif error occursDeclaration
Swift
public func map<OutValue>(transform: (Value) throws -> OutValue) rethrows -> [Key : OutValue]Parameters
transformtransform function to execute
Return Value
a dictionary
View on GitHub
Dictionary Extension Reference