Lines Matching refs:filter

384   var whitespace = lodashStable.filter([
2507 .filter(function(n) { return n % 2 != 0; })
3431 var actual = lodashStable.filter(objects, par);
3439 actual = lodashStable.filter(objects, par);
3462 actual = lodashStable.filter(objects, par);
3504 actual = lodashStable.filter(objects, conforms(Foo));
3701 var actual = _(array).countBy().map(square).filter(isEven).take().value();
3703 assert.deepEqual(actual, _.take(_.filter(_.map(_.countBy(array), square), isEven)));
5142 actual = _(array).filter(predicate).drop(2).drop().value();
5144 assert.deepEqual(actual, _.drop(_.drop(_.filter(array, predicate), 2)));
5151 actual = _(array).drop().filter(predicate).drop(2).dropRight().drop().dropRight(2).value();
5153 …assert.deepEqual(actual, _.dropRight(_.drop(_.dropRight(_.drop(_.filter(_.drop(array), predicate),…
5230 actual = _(array).filter(predicate).dropRight(2).dropRight().value();
5232 assert.deepEqual(actual, _.dropRight(_.dropRight(_.filter(array, predicate), 2)));
5239 … actual = _(array).dropRight().filter(predicate).dropRight(2).drop().dropRight().drop(2).value();
5241 …assert.deepEqual(actual, _.drop(_.dropRight(_.drop(_.dropRight(_.filter(_.dropRight(array), predic…
5858 assert.deepEqual(_.filter(array, isEven), [2]);
5982 wrapped = _(array).filter(isEven);
5984 assert.strictEqual(wrapped[methodName](), func(lodashStable.filter(array, isEven)));
6732 var filter1 = _.filter,
6733 filter2 = _.curry(_.rearg(_.ary(_.filter, 2), 1, 0), 2),
6734 filter3 = (_.filter = index ? filter2 : filter1, filter2(predicate));
6758 _.filter = filter1;
7650 var actual = _(array).fromPairs().map(square).filter(isEven).take().value();
7652 assert.deepEqual(actual, _.take(_.filter(_.map(_.fromPairs(array), square), isEven)));
7764 actual = _(array).groupBy().map(iteratee).filter(predicate).take().value();
7766 …assert.deepEqual(actual, _.take(_.filter(lodashStable.map(_.groupBy(array), iteratee), predicate))…
8144 actual = _(array).filter(isEven)[methodName]();
8146 assert.strictEqual(actual, _[methodName](_.filter(array, isEven)));
8343 var actual = _(array).initial().filter(function(value) {
8354 actual = _(array).filter(function(value) {
8361 assert.deepEqual(actual, _.initial(lodashStable.filter(array, isEven)));
9608 array1.every = array1.filter = array1.forEach =
12379 assert.deepEqual(_.filter(objects), [objects[1]]);
12943 var actual = _(array).keyBy().map(square).filter(isEven).take().value();
12945 assert.deepEqual(actual, _.take(_.filter(_.map(_.keyBy(array), square), isEven)));
13226 wrapped = _(array).filter(isEven);
13228 assert.strictEqual(wrapped.last(), _.last(_.filter(array, isEven)));
13925 actual = lodashStable.filter(objects, matches({ 'a': ['d'] }));
13929 actual = lodashStable.filter(objects, matches({ 'a': ['b', 'd'] }));
13932 actual = lodashStable.filter(objects, matches({ 'a': ['d', 'b'] }));
13940 actual = lodashStable.filter(objects, matches({ 'a': [2, 2] }));
13953 var actual = lodashStable.filter(objects, matches({ 'a': [{ 'b': 1 }, { 'b': 4, 'c': 5 }] }));
13968 var actual = lodashStable.filter(objects, matches({ 'a': map }));
13973 actual = lodashStable.filter(objects, matches({ 'a': map }));
13978 actual = lodashStable.filter(objects, matches({ 'a': map }));
13998 var actual = lodashStable.filter(objects, matches({ 'a': set }));
14003 actual = lodashStable.filter(objects, matches({ 'a': set }));
14008 actual = lodashStable.filter(objects, matches({ 'a': set }));
14115 actual = lodashStable.filter(objects, matches({ 'a': [], 'b': {} }));
14365 actual = lodashStable.filter(objects, _.matchesProperty('a', ['d']));
14369 actual = lodashStable.filter(objects, _.matchesProperty('a', ['b', 'd']));
14372 actual = lodashStable.filter(objects, _.matchesProperty('a', ['d', 'b']));
14380 actual = lodashStable.filter(objects, _.matchesProperty('a', [2, 2]));
14393 …var actual = lodashStable.filter(objects, _.matchesProperty('a', [{ 'a': 1 }, { 'a': 4, 'b': 5 }])…
14407 var actual = lodashStable.filter(objects, _.matchesProperty('a', map));
14412 actual = lodashStable.filter(objects, _.matchesProperty('a', map));
14417 actual = lodashStable.filter(objects, _.matchesProperty('a', map));
14437 var actual = lodashStable.filter(objects, _.matchesProperty('a', set));
14442 actual = lodashStable.filter(objects, _.matchesProperty('a', set));
14447 actual = lodashStable.filter(objects, _.matchesProperty('a', set));
14516 var actual = lodashStable.filter(objects, function(object) {
15975 _.mixin({ 'a': _.countBy, 'b': _.filter });
21568 var actual = _(array).tail().filter(function(value) {
21579 actual = _(array).filter(function(value) {
21586 assert.deepEqual(actual, _.tail(_.filter(array, isEven)));
21607 actual = _(array).filter().slice(0, 1).tail().map(iteratee).value();
21681 actual = _(array).filter(predicate).take(2).take().value();
21683 assert.deepEqual(actual, _.take(_.take(_.filter(array, predicate), 2)));
21690 …actual = _(array).take(array.length - 1).filter(predicate).take(6).takeRight(4).take(2).takeRight(…
21692 …assert.deepEqual(actual, _.takeRight(_.take(_.takeRight(_.take(_.filter(_.take(array, array.length…
21763 actual = _(array).filter(predicate).takeRight(2).takeRight().value();
21765 assert.deepEqual(actual, _.takeRight(_.takeRight(_.filter(array, predicate), 2)));
21772 actual = _(array).filter(predicate).takeRight(6).take(4).takeRight(2).take().value();
21774 …assert.deepEqual(actual, _.take(_.takeRight(_.take(_.takeRight(_.filter(array, predicate), 6), 4),…
24210 var objects = lodashStable.filter(realm, function(value) {
25735 actual = _(props)[methodName](values).map(square).filter(isEven).take().value();
25737 assert.deepEqual(actual, _.take(_.filter(_.map(func(props, values), square), isEven)));
25985 var other = wrapped.filter();
26005 wrapped = wrapped.filter(predicate);
26006 …assert.deepEqual(lodashStable.toArray(wrapped), _.filter(array, isEven), 'reset for new lazy chain…