Search array of objects for entry matching variable and check if it matches other fields
You can use array.filter, this takes a function that is passed each item of the array and returns true or false and returns a new array that only has items where the function passed to filter will return true. You can partially apply a curried function. Example of curried function: const plus = a => … Read more