varbaseInverter=require('./_baseInverter');/** * 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. */functioncreateInverter(setter,toIteratee){returnfunction(object,iteratee){returnbaseInverter(object,setter,toIteratee(iteratee),{});};}module.exports=createInverter;