* Gets the appropriate "iteratee" function. If `_.iteratee` is customized, * this function returns the custom method, otherwise it returns `baseIteratee`. * If arguments are provided, the chosen function is invoked with them and * its result is returned. *
()
| 16552 | * @returns {Function} Returns the chosen function or its result. |
| 16553 | */ |
| 16554 | function getIteratee() { |
| 16555 | var result = lodash.iteratee || iteratee; |
| 16556 | result = result === iteratee ? baseIteratee : result; |
| 16557 | return arguments.length ? result(arguments[0], arguments[1]) : result; |
| 16558 | } |
| 16559 | |
| 16560 | /** |
| 16561 | * Gets the data for `map`. |
no test coverage detected