Kind of easy, if your reducer sums the numbers of the array don't add up the result and return the previous one. If your reducer adds elements to an array, return the previous array. If your reducer adds or modifies keys in an object, return the previous object. And you get it for any other kind of reducer.
Example of reducer function
(prev, current) => condition ? prev + current : prev