Enum

filter/2

filter(enumerable, fun)

Returns only those elements for which fun returns a truthy value.