* 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 *
()
| 13574 | * @returns {Function} Returns the chosen function or its result. |
| 13575 | */ |
| 13576 | function getIteratee() { |
| 13577 | var result = lodash.iteratee || iteratee; |
| 13578 | result = result === iteratee ? baseIteratee : result; |
| 13579 | return arguments.length ? result(arguments[0], arguments[1]) : result; |
| 13580 | } |
| 13581 | |
| 13582 | /** |
| 13583 | * Gets the data for `map`. |
no test coverage detected