MapSet.reject/2

defmodule MapSet do
  def reject(map_set, fun)
end

Returns a set by excluding the elements from map_set for which invoking fun returns a truthy value.