_.pullAll

_.pullAll(array, values) source npm package This method is like _.pull except that it accepts an array of values to remove.Note: Unlike _.difference, this method mutates array. Since 4.0.0 Arguments array (Array): The array to modify. values (Array): The values to remove. Returns (Array): Returns array. Example var array = ['a', 'b', 'c', 'a', 'b', 'c'];   _.pullAll(array, ['a', 'c']); console.log(array); // => ['b', 'b']

_.pull

_.pull(array, [values]) source npm package Removes all given values from array using SameValueZero for equality comparisons.Note: Unlike _.without, this method mutates array. Use _.remove to remove elements from an array by predicate. Since 2.0.0 Arguments array (Array): The array to modify. [values] (...*): The values to remove. Returns (Array): Returns array. Example var array = ['a', 'b', 'c', 'a', 'b', 'c'];   _.pull(array, 'a', 'c'); console.log(array); // => ['b', 'b']

_.prototype[Symbol.iterator]

_.prototypeSymbol.iterator source Enables the wrapper to be iterable. Since 4.0.0 Returns (Object): Returns the wrapper object. Example var wrapped = _([1, 2]);   wrapped[Symbol.iterator]() === wrapped; // => true   Array.from(wrapped); // => [1, 2]

_.prototype.valueOf

_.prototype.value() source Executes the chain sequence to resolve the unwrapped value. Since 0.1.0 Aliases _.prototype.toJSON, _.prototype.valueOf Returns (*): Returns the resolved unwrapped value. Example _([1, 2, 3]).value(); // => [1, 2, 3]

_.prototype.reverse

_.prototype.reverse() source This method is the wrapper version of _.reverse.Note: This method mutates the wrapped array. Since 0.1.0 Returns (Object): Returns the new lodash wrapper instance. Example var array = [1, 2, 3];   _(array).reverse().value() // => [3, 2, 1]   console.log(array); // => [3, 2, 1]

_.prototype.plant

_.prototype.plant(value) source Creates a clone of the chain sequence planting value as the wrapped value. Since 3.2.0 Arguments value (*): The value to plant. Returns (Object): Returns the new lodash wrapper instance. Example function square(n) {   return n * n; }   var wrapped = _([1, 2]).map(square); var other = wrapped.plant([3, 4]);   other.value(); // => [9, 16]   wrapped.value(); // => [1, 4]

_.prototype.next

_.prototype.next() source Gets the next value on a wrapped object following the iterator protocol. Since 4.0.0 Returns (Object): Returns the next iterator value. Example var wrapped = _([1, 2]);   wrapped.next(); // => { 'done': false, 'value': 1 }   wrapped.next(); // => { 'done': false, 'value': 2 }   wrapped.next(); // => { 'done': true, 'value': undefined }

_.prototype.commit

_.prototype.commit() source Executes the chain sequence and returns the wrapped result. Since 3.2.0 Returns (Object): Returns the new lodash wrapper instance. Example var array = [1, 2]; var wrapped = _(array).push(3);   console.log(array); // => [1, 2]   wrapped = wrapped.commit(); console.log(array); // => [1, 2, 3]   wrapped.last(); // => 3   console.log(array); // => [1, 2, 3]

_.prototype.chain

_.prototype.chain() source Creates a lodash wrapper instance with explicit method chain sequences enabled. Since 0.1.0 Returns (Object): Returns the new lodash wrapper instance. Example var users = [   { 'user': 'barney', 'age': 36 },   { 'user': 'fred',   'age': 40 } ];   // A sequence without explicit chaining. _(users).head(); // => { 'user': 'barney', 'age': 36 }   // A sequence with explicit chaining. _(users)   .chain()   .head()   .pick('user')   .value(); // => { 'user': 'barne

_.prototype.at

_.prototype.at([paths]) source This method is the wrapper version of _.at. Since 1.0.0 Arguments [paths] (...(string|string[])): The property paths to pick. Returns (Object): Returns the new lodash wrapper instance. Example var object = { 'a': [{ 'b': { 'c': 3 } }, 4] };   _(object).at(['a[0].b.c', 'a[1]']).value(); // => [3, 4]