setDifferenceBy

inline fun <T, R> Iterable<T>.setDifferenceBy(other: Iterable<T>, selector: (T) -> R): List<T>(source)

Returns all values that are in this and not in other with custom selector.