Lines Matching refs:predicate

105   function baseFindIndex(array, predicate, fromIndex, fromRight) {  argument
110 if (predicate(array[index], index, array)) {
469 function baseEvery(collection, predicate) { argument
472 result = !!predicate(value, index, collection);
515 function baseFilter(collection, predicate) { argument
518 if (predicate(value, index, collection)) {
536 function baseFlatten(array, depth, predicate, isStrict, result) { argument
540 predicate || (predicate = isFlattenable);
545 if (depth > 0 && predicate(value)) {
548 baseFlatten(value, depth - 1, predicate, isStrict, result);
902 function baseSome(collection, predicate) { argument
906 result = predicate(value, index, collection);
1115 return function(collection, predicate, fromIndex) { argument
1118 var iteratee = baseIteratee(predicate, 3);
1120 predicate = function(key) { return iteratee(iterable[key], key, iterable); }; function
1122 var index = findIndexFunc(collection, predicate, fromIndex);
1557 function findIndex(array, predicate, fromIndex) { argument
1566 return baseFindIndex(array, baseIteratee(predicate, 3), index);
1897 function every(collection, predicate, guard) { argument
1898 predicate = guard ? undefined : predicate;
1899 return baseEvery(collection, baseIteratee(predicate));
1939 function filter(collection, predicate) { argument
1940 return baseFilter(collection, baseIteratee(predicate));
2167 function some(collection, predicate, guard) { argument
2168 predicate = guard ? undefined : predicate;
2169 return baseSome(collection, baseIteratee(predicate));
2352 function negate(predicate) { argument
2353 if (typeof predicate != 'function') {
2358 return !predicate.apply(this, args);