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

@@ -1,4 +1,3 @@
import baseIteratee from './_baseIteratee.js';
import isArrayLike from './isArrayLike.js';
import keys from './keys.js';
@@ -14,7 +13,6 @@ function createFind(findIndexFunc) {
let iteratee;
const iterable = Object(collection);
if (!isArrayLike(collection)) {
iteratee = baseIteratee(predicate, 3);
collection = keys(collection);
predicate = key => iteratee(iterable[key], key, iterable);
}