STRUCT
DictionaryBuilder
Contents
- Methods
buildBlock(_:)buildOptional(_:)buildExpression(_:)buildEither(first:)buildEither(second:)
swift
public struct DictionaryBuilder<Key: Hashable, Value>Methods
buildBlock(_:)
swift
public static func buildBlock(_ dictionaries: Dictionary<Key, Value>...) -> Dictionary<Key, Value>buildOptional(_:)
swift
public static func buildOptional(_ dictionary: Dictionary<Key, Value>?) -> Dictionary<Key, Value>buildExpression(_:)
swift
public static func buildExpression(_ dictionary: Dictionary<Key, Value>) -> Dictionary<Key, Value>buildEither(first:)
swift
public static func buildEither(first dictionary: Dictionary<Key, Value>) -> Dictionary<Key, Value>buildEither(second:)
swift
public static func buildEither(second dictionary: Dictionary<Key, Value>) -> Dictionary<Key, Value>