Second syntax: Filter array calls fun in all the objects in the array arr, and return all objects that returned true.
Third syntax: Filter array calls all functionpointers in the array arr, and return all that returned true.