I want to compare two arrays with each other and remove all objects from the first one who are NOT present in both arrays.
//array1 $apiData1 = [ \