Returns a subsequence by skipping elements while
true and returning the remaining elements.
Required. Default implementations provided.
- Xcode 10.0+
- Swift Standard Library
A closure that takes an element of the sequence as its argument and returns a Boolean value indicating whether the element is a match.
Complexity: O(n), where n is the length of the sequence.