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.
The returned set uses structural equality (==) to distinguish elements, meaning there will be no two structurally equal, but otherwise different elements in it.
Since Kotlin
1.0Returns 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.
The returned set uses structural equality (==) to distinguish elements, meaning there will be no two structurally equal, but otherwise different elements in it.