Update multiple items in an array by matching a property against a list of values. Returns a new array with the matched items updated.
The original array.
The property key to match.
The list of values to update.
A export function that returns the updated item.
A new array with the updated items.
Update multiple items in an array by matching a property against a list of values. Returns a new array with the matched items updated.