Generic Type Alias


No overview available.


typealias DictionaryLiteral<Key, Value> = KeyValuePairs<Key, Value>

See Also

Special-Use Collections

func repeatElement<T>(T, count: Int) -> Repeated<T>

Creates a collection containing the specified number of the given element.

struct CollectionOfOne

A collection containing a single element.

struct EmptyCollection

A collection whose element type is Element but that is always empty.

struct KeyValuePairs

A lightweight collection of key-value pairs.