I have an array which contains a list of different objects and I want to be able to re-use the same function to filter different objects and values within the same array. My array and I’m calling a function to filter the array passing 2 parameters: the field I want to filter on the value it should filter out This