Lines Matching refs:predicate

3691 	    function arrayEvery(array, predicate) {
3696 if (!predicate(array[index], index, array)) {
3712 function arrayFilter(array, predicate) {
3720 if (predicate(value, index, array)) {
3847 function arraySome(array, predicate) {
3852 if (predicate(array[index], index, array)) {
4228 function baseEvery(collection, predicate) {
4231 result = !!predicate(value, index, collection);
4246 function baseFilter(collection, predicate) {
4249 if (predicate(value, index, collection)) {
4269 function baseFind(collection, predicate, eachFunc, retKey) {
4272 if (predicate(value, key, collection)) {
4886 function baseSome(collection, predicate) {
4890 result = predicate(value, index, collection);
6107 function pickByCallback(object, predicate) {
6110 if (predicate(value, key, object)) {
6475 function dropRightWhile(array, predicate, thisArg) {
6480 predicate = getCallback(predicate, thisArg, 3);
6481 while (length-- && predicate(array[length], length, array)) {}
6525 function dropWhile(array, predicate, thisArg) {
6531 predicate = getCallback(predicate, thisArg, 3);
6532 while (++index < length && predicate(array[index], index, array)) {}
6575 function findIndex(array, predicate, thisArg) {
6579 predicate = getCallback(predicate, thisArg, 3);
6581 if (predicate(array[index], index, array)) {
6627 function findLastIndex(array, predicate, thisArg) {
6629 predicate = getCallback(predicate, thisArg, 3);
6631 if (predicate(array[length], length, array)) {
7004 function remove(array, predicate, thisArg) {
7009 predicate = getCallback(predicate, thisArg, 3);
7012 if (predicate(value, index, array)) {
7258 function takeRightWhile(array, predicate, thisArg) {
7263 predicate = getCallback(predicate, thisArg, 3);
7264 while (length-- && predicate(array[length], length, array)) {}
7308 function takeWhile(array, predicate, thisArg) {
7314 predicate = getCallback(predicate, thisArg, 3);
7315 while (++index < length && predicate(array[index], index, array)) {}
7892 function every(collection, predicate, thisArg) {
7894 if (typeof predicate != 'function' || typeof thisArg != 'undefined') {
7895 predicate = getCallback(predicate, thisArg, 3);
7897 return func(collection, predicate);
7940 function filter(collection, predicate, thisArg) {
7942 predicate = getCallback(predicate, thisArg, 3);
7943 return func(collection, predicate);
7987 function find(collection, predicate, thisArg) {
7989 var index = findIndex(collection, predicate, thisArg);
7992 predicate = getCallback(predicate, thisArg, 3);
7993 return baseFind(collection, predicate, baseEach);
8014 function findLast(collection, predicate, thisArg) {
8015 predicate = getCallback(predicate, thisArg, 3);
8016 return baseFind(collection, predicate, baseEachRight);
8519 function reject(collection, predicate, thisArg) {
8521 predicate = getCallback(predicate, thisArg, 3);
8523 return !predicate(value, index, collection);
8655 function some(collection, predicate, thisArg) {
8657 if (typeof predicate != 'function' || typeof thisArg != 'undefined') {
8658 predicate = getCallback(predicate, thisArg, 3);
8660 return func(collection, predicate);
9543 function negate(predicate) {
9544 if (!isFunction(predicate)) {
9548 return !predicate.apply(this, arguments);
10661 function findKey(object, predicate, thisArg) {
10662 predicate = getCallback(predicate, thisArg, 3);
10663 return baseFind(object, predicate, baseForOwn, true);
10705 function findLastKey(object, predicate, thisArg) {
10706 predicate = getCallback(predicate, thisArg, 3);
10707 return baseFind(object, predicate, baseForOwnRight, true);
11126 function omit(object, predicate, thisArg) {
11130 if (typeof predicate != 'function') {
11134 predicate = bindCallback(predicate, thisArg, 3);
11136 return !predicate(value, key, object);
11193 function pick(object, predicate, thisArg) {
11197 return typeof predicate == 'function'
11198 ? pickByCallback(object, bindCallback(predicate, thisArg, 3))
13017 LazyWrapper.prototype[methodName + 'RightWhile'] = function(predicate, thisArg) {
13018 return this.reverse()[whileName](predicate, thisArg).reverse();