Try the revamped Kotlin docs design →
Try the revamped Kotlin docs design!
subtract
Returns a set containing all elements that are contained by this array and not contained by the specified collection.
The returned set preserves the element iteration order of the original array.
Returns a set containing all elements that are contained by this collection and not contained by the specified collection.
The returned set preserves the element iteration order of the original collection.