* 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. * * @private *
()
| 13663 | * @returns {Function} Returns the chosen function or its result. |
| 13664 | */ |
| 13665 | function getIteratee() { |
| 13666 | var result = lodash.iteratee || iteratee; |
| 13667 | result = result === iteratee ? baseIteratee : result; |
| 13668 | return arguments.length ? result(arguments[0], arguments[1]) : result; |
| 13669 | } |
| 13670 | |
| 13671 | /** |
| 13672 | * Gets the data for `map`. |
no test coverage detected