MapSet

filter/2

filter(map_set, fun)

Filters set by returning only the elements from map_set for which invoking fun returns a truthy value.