removeFirst()
Removes and returns the first element of the collection.
Declaration
@discardableResult mutating func removeFirst() -> Self.ElementReturn Value
The first element of the collection.
Discussion
The collection must not be empty.
Removes and returns the first element of the collection.
@discardableResult mutating func removeFirst() -> Self.ElementThe first element of the collection.
The collection must not be empty.