Contents

init(dictionaryLiteral:)

Creates a new KeyValuePairs instance from the given dictionary literal.

Declaration

init(dictionaryLiteral elements: (Key, Value)...)

Discussion

The order of the key-value pairs is kept intact in the resulting KeyValuePairs instance.