Creates a new instance of a collection containing the elements of a sequence.
SDK
- Xcode 9.0+
Framework
- Swift Standard Library
Declaration
Parameters
elements
The sequence of elements for the new collection.
elements
must be finite.
Discussion
Note
This documentation comment was inherited from Range
.