Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Add ConditionalReplaceValueTransformWithDefault #409
left a comment
If condition is true, replace with 'newVal'.
Assuming my interpretation is correct, I'm not sure "default" is the best name for this. It's one value if true, another if false - I don't see why the false case value should be called "default".
@AlexDBlack Indeed. I hope my latest fixes all that.
To be clear, this operation is strictly better than two successive conditional replaces, not just form performance, but