Transforms values using the given predicate before passing them to the next layer.
int result; (2) .trOnly .trMap!(n => n+1) .trMap!(n => n * 2) .trEach!((int n) { result = n; }); assert(result == 6);
See Implementation
Transforms values using the given predicate before passing them to the next layer.