https://kotlinlang.org logo
#android
Title
# android
b

Brian Dilley

04/06/2021, 12:26 AM
Copy code
destination.filterKeys { key ->
    key in (list1 + list2 + list3)
}
v

Vampire

04/06/2021, 7:48 AM
That's not the same logic, this is like ORing the conditions, question was about ANDing.
b

Brian Dilley

04/06/2021, 4:35 PM
ah, yes.