Creates a transducer that filters values based on a predicate function.
The type of elements.
Function to determine if a value should be kept.
Creates a transducer that filters values based on a predicate function.