Description
Just thought a basic ifTransformer that performs operations based on a predicate would be useful. I know this functionality can be accomplished via a switchTransformer, but sometimes it would just be easier and more clear to have an ifTransformer.
I attached a draft of what it could look like. Let me know if this is something that should be included and I can polish it and write some tests.