difference

fun difference(other: RangeSet<T>): RangeSet<T>

Returns a new RangeSet consisting of the difference of this range set and the other.