removeLast()
Removes and returns the last element of the array.
Declaration
@discardableResult mutating func removeLast() -> ElementReturn Value
The last element of the original array.
Discussion
The array must not be empty.
Removes and returns the last element of the array.
@discardableResult mutating func removeLast() -> ElementThe last element of the original array.
The array must not be empty.