I have a list of objects, and I wish to filter this list by each element\'s result to a certain function. I thought about using a combination of the filter and map functions but