Creates a new instance of a collection containing the elements of a sequence.
Required. Default implementation provided.
SDK
- Xcode 10.0+
Framework
- Swift Standard Library
Declaration
Parameters
elements
The sequence of elements for the new collection.
elements
must be finite.