Remove baseIteratee and castFunction.

This commit is contained in:
John-David Dalton
2017-01-09 17:17:03 -08:00
parent efcf51c7bf
commit 65654f8f9e
96 changed files with 140 additions and 537 deletions

View File

@@ -10,7 +10,7 @@ import unzipWith from './unzipWith.js';
* @since 3.8.0
* @category Array
* @param {...Array} [arrays] The arrays to process.
* @param {Function} [iteratee=_.identity] The function to combine
* @param {Function} iteratee The function to combine
* grouped values.
* @returns {Array} Returns the new array of grouped elements.
* @example
@@ -23,7 +23,6 @@ import unzipWith from './unzipWith.js';
function zipWith(...arrays) {
const length = arrays.length;
let iteratee = length > 1 ? arrays[length - 1] : undefined;
iteratee = typeof iteratee == 'function' ? (arrays.pop(), iteratee) : undefined;
return unzipWith(arrays, iteratee);
}