* 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 *
()
| 6016 | * @returns {Function} Returns the chosen function or its result. |
| 6017 | */ |
| 6018 | function getIteratee() { |
| 6019 | var result = lodash.iteratee || iteratee; |
| 6020 | result = result === iteratee ? baseIteratee : result; |
| 6021 | return arguments.length ? result(arguments[0], arguments[1]) : result; |
| 6022 | } |
| 6023 | |
| 6024 | /** |
| 6025 | * Gets the data for `map`. |
no test coverage detected