groostav
someList.removeAll { it !in anotherList by MyType::isSpecialEquals } someList.removeAll { candidate -> anotherList.any { it.isSpecialEquals(candidate) } }