Returns a subsequence containing the initial elements until predicate returns false and skipping the remaining elements.
Mac Catalyst 13.0+Beta
A closure that takes an element of the sequence as its argument and returns true if the element should be included or false if it should be excluded. Once the predicate returns false it will not be called again.
Complexity: O(n), where n is the length of the collection.
Returns a subsequence from the specified position to the end of the collection.
This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.