Nicolai
[{id: 1, isSomething: false},{id: 2, isSomething: false}]
[{id: 1, isSomething: true}]
{id: 1, isSomething: true},{id: 2, isSomething: false}]
ephemient
(listA.groupBy { it.id } + listB.groupBy { it.id }).values.map { it.single() }
A modern programming language that makes developers happier.