No overview available.
SDKs
- iOS 13.0+
- macOS 10.15+
- Mac Catalyst 13.0+
- Xcode 11.0+
Framework
- Reality
Kit
Declaration
typealias SubSequence = Any Sequence<Entity.Child Collection.Indexing Iterator<Elements>.Element>
No overview available.
SDKs
Framework
typealias SubSequence = Any Sequence<Entity.Child Collection.Indexing Iterator<Elements>.Element>
func split(max Splits: Int, omitting Empty Subsequences: Bool, where Separator: (Elements .Element) -> Bool) -> [Array Slice<Elements .Element>]
Returns the longest possible subsequences of the sequence, in order, that don’t contain elements satisfying the given predicate. Elements that are used to split the sequence are not returned as part of any subsequence.
func split(separator: Elements .Element, max Splits: Int, omitting Empty Subsequences: Bool) -> [Array Slice<Elements .Element>]
Returns the longest possible subsequences of the sequence, in order, around elements equal to the given element.
func joined() -> Flatten Sequence<Entity .Child Collection .Indexing Iterator<Elements>>
Returns the elements of this sequence of sequences, concatenated.
func joined<Separator>(separator: Separator) -> Joined Sequence<Entity .Child Collection .Indexing Iterator<Elements>>
Returns the concatenated elements of this sequence of sequences, inserting the given separator between each element.
func joined(separator: String) -> String
Returns a new string by concatenating the elements of the sequence, adding the given separator between each element.