Returns a new set with all elements that pass the test implemented by the provided callback function.
The set to filter.
The callback function that acts as a predicate.
Returns a new set with all elements that pass the test implemented by the provided callback function.