init(_:)
Creates an instance containing just the given element.
Declaration
init(_ element: Element)Parameters
- element:
The element to store in the collection.
Creates an instance containing just the given element.
init(_ element: Element)The element to store in the collection.