Returns the difference needed to produce this collection’s ordered elements from the given collection.
- iOS 13+
- macOS 10.15+
- Mac Catalyst 13.0+
- tvOS 13+
- watchOS 6+
- Xcode 11.0+
The base state.
The difference needed to produce this collection’s ordered elements from the given collection.
This function does not infer element moves. If you need to infer moves, call the
inferring method on the resulting difference.
Complexity: Worst case performance is O(n * m), where n is the count of this collection and m is
other. You can expect faster execution when the collections share many common elements, or if
Element conforms to