function createInverter(setter, toIteratee) {
      return function(object, iteratee) {
        return baseInverter(object, setter, toIteratee(iteratee), {});
      };
    }
Creates a function like `_.invertBy`.

@private
@param {Function} setter The function to set accumulator values.
@param {Function} toIteratee The function to resolve iteratees.
@returns {Function} Returns the new inverter function.