Returns a sequence containing all but the given number of final elements.
- iOS 13.0+
- macOS 10.15+
- Mac Catalyst 13.0+
- tvOS 13.0+
- watchOS 6.0+
- Xcode 11.0+
- Apple Crypto
The number of elements to drop off the end of the sequence.
nmust be greater than or equal to zero.
A sequence leaving off the specified number of elements.
The sequence must be finite. If the number of elements to drop exceeds the number of elements in the sequence, the result is an empty sequence.
Complexity: O(n), where n is the length of the sequence.