How to filter array of object based on nested object value in Angular 8

I am getting API response inside getClusterByName() function, I want to search array of object based on region value which i am passing from changeRegion function. for ex – if i will pass ‘1UL Africa’ or ‘New Test’ or ‘South Africa’ inside changeRegion() function, than it will return this specific object in result from list… Read More How to filter array of object based on nested object value in Angular 8

How to filter array of object based on another array Angular 8

I have below sample data in excelData and apiResponse. I want to filter excelData array based on apiResponse makeLineName. For Ex – In apiResponse, we have below TestDemo1 and Test565 makeLineName available So i want to search exceldata array for this TestDemo1 and Test565 makeLineName and if same name availalble in excelData than filter the… Read More How to filter array of object based on another array Angular 8