I\'ve an array like:
ids = [1,3,5];
and another array like:
items: [ {id: 1, name: \'a\'}, {id: 2, name: \'b\'}, {id: 3,
Or may be one liner without Ramda
items.filter(x=>ids.includes(x.id))