flow like the river
This commit is contained in:
commit
013fe673f3
42435 changed files with 5764238 additions and 0 deletions
17
BACK_BACK/node_modules/lodash-es/_createInverter.js
generated
vendored
Executable file
17
BACK_BACK/node_modules/lodash-es/_createInverter.js
generated
vendored
Executable file
|
|
@ -0,0 +1,17 @@
|
|||
import baseInverter from './_baseInverter.js';
|
||||
|
||||
/**
|
||||
* 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.
|
||||
*/
|
||||
function createInverter(setter, toIteratee) {
|
||||
return function(object, iteratee) {
|
||||
return baseInverter(object, setter, toIteratee(iteratee), {});
|
||||
};
|
||||
}
|
||||
|
||||
export default createInverter;
|
||||
Loading…
Add table
Add a link
Reference in a new issue