Lines Matching refs:predicate

553   function arrayEvery(array, predicate) {  argument
558 if (!predicate(array[index], index, array)) {
574 function arrayFilter(array, predicate) { argument
582 if (predicate(value, index, array)) {
721 function arraySome(array, predicate) { argument
726 if (predicate(array[index], index, array)) {
775 function baseFindKey(collection, predicate, eachFunc) { argument
778 if (predicate(value, key, collection)) {
797 function baseFindIndex(array, predicate, fromIndex, fromRight) { argument
802 if (predicate(array[index], index, array)) {
2726 predicate = source[key],
2729 if ((value === undefined && !(key in object)) || !predicate(value)) {
2838 function baseEvery(collection, predicate) { argument
2841 result = !!predicate(value, index, collection);
2912 function baseFilter(collection, predicate) { argument
2915 if (predicate(value, index, collection)) {
2933 function baseFlatten(array, depth, predicate, isStrict, result) { argument
2937 predicate || (predicate = isFlattenable);
2942 if (depth > 0 && predicate(value)) {
2945 baseFlatten(value, depth - 1, predicate, isStrict, result);
3761 function basePickBy(object, paths, predicate) { argument
3770 if (predicate(value, path)) {
4075 function baseSome(collection, predicate) { argument
4079 result = predicate(value, index, collection);
4340 function baseWhile(array, predicate, isDrop, fromRight) { argument
4345 predicate(array[index], index, array)) {}
5052 return function(collection, predicate, fromIndex) { argument
5055 var iteratee = getIteratee(predicate, 3);
5057 predicate = function(key) { return iteratee(iterable[key], key, iterable); }; function
5059 var index = findIndexFunc(collection, predicate, fromIndex);
7126 function dropRightWhile(array, predicate) {
7128 ? baseWhile(array, getIteratee(predicate, 3), true, true)
7167 function dropWhile(array, predicate) {
7169 ? baseWhile(array, getIteratee(predicate, 3), true)
7249 function findIndex(array, predicate, fromIndex) {
7258 return baseFindIndex(array, getIteratee(predicate, 3), index);
7296 function findLastIndex(array, predicate, fromIndex) {
7308 return baseFindIndex(array, getIteratee(predicate, 3), index, true);
7847 function remove(array, predicate) {
7856 predicate = getIteratee(predicate, 3);
7859 if (predicate(value, index, array)) {
8247 function takeRightWhile(array, predicate) {
8249 ? baseWhile(array, getIteratee(predicate, 3), false, true)
8288 function takeWhile(array, predicate) {
8290 ? baseWhile(array, getIteratee(predicate, 3))
9126 function every(collection, predicate, guard) {
9128 if (guard && isIterateeCall(collection, predicate, guard)) {
9129 predicate = undefined;
9131 return func(collection, getIteratee(predicate, 3));
9171 function filter(collection, predicate) {
9173 return func(collection, getIteratee(predicate, 3));
9747 function reject(collection, predicate) {
9749 return func(collection, negate(getIteratee(predicate, 3)));
9892 function some(collection, predicate, guard) {
9894 if (guard && isIterateeCall(collection, predicate, guard)) {
9895 predicate = undefined;
9897 return func(collection, getIteratee(predicate, 3));
10583 function negate(predicate) {
10584 if (typeof predicate != 'function') {
10590 case 0: return !predicate.call(this);
10591 case 1: return !predicate.call(this, args[0]);
10592 case 2: return !predicate.call(this, args[0], args[1]);
10593 case 3: return !predicate.call(this, args[0], args[1], args[2]);
10595 return !predicate.apply(this, args);
12876 function findKey(object, predicate) {
12877 return baseFindKey(object, getIteratee(predicate, 3), baseForOwn);
12915 function findLastKey(object, predicate) {
12916 return baseFindKey(object, getIteratee(predicate, 3), baseForOwnRight);
13538 function omitBy(object, predicate) {
13539 return pickBy(object, negate(getIteratee(predicate)));
13581 function pickBy(object, predicate) {
13588 predicate = getIteratee(predicate);
13590 return predicate(value, path[0]);
16931 LazyWrapper.prototype.find = function(predicate) {
16932 return this.filter(predicate).head();
16935 LazyWrapper.prototype.findLast = function(predicate) {
16936 return this.reverse().find(predicate);
16948 LazyWrapper.prototype.reject = function(predicate) {
16949 return this.filter(negate(getIteratee(predicate)));
16971 LazyWrapper.prototype.takeRightWhile = function(predicate) {
16972 return this.reverse().takeWhile(predicate).reverse();