_.zipWith

_.zipWith([arrays], [iteratee=_.identity]) source npm package This method is like _.zip except that it accepts iteratee to specify how grouped values should be combined. The iteratee is invoked with the elements of each group: (...group). Since 3.8.0 Arguments [arrays] (...Array): The arrays to process. [iteratee=_.identity] (Function): The function to combine grouped values. Returns (Array): Returns the new array of grouped elements. Example _.zipWith([1, 2], [10, 20], [100, 200], functi

_.zipObjectDeep

_.zipObjectDeep([props=[]], [values=[]]) source npm package This method is like _.zipObject except that it supports property paths. Since 4.1.0 Arguments [props=[]] (Array): The property identifiers. [values=[]] (Array): The property values. Returns (Object): Returns the new object. Example _.zipObjectDeep(['a.b[0].c', 'a.b[1].d'], [1, 2]); // => { 'a': { 'b': [{ 'c': 1 }, { 'd': 2 }] } }

_.zipObject

_.zipObject([props=[]], [values=[]]) source npm package This method is like _.fromPairs except that it accepts two arrays, one of property identifiers and one of corresponding values. Since 0.4.0 Arguments [props=[]] (Array): The property identifiers. [values=[]] (Array): The property values. Returns (Object): Returns the new object. Example _.zipObject(['a', 'b'], [1, 2]); // => { 'a': 1, 'b': 2 }

_.zip

_.zip([arrays]) source npm package Creates an array of grouped elements, the first of which contains the first elements of the given arrays, the second of which contains the second elements of the given arrays, and so on. Since 0.1.0 Arguments [arrays] (...Array): The arrays to process. Returns (Array): Returns the new array of grouped elements. Example _.zip(['a', 'b'], [1, 2], [true, false]); // => [['a', 1, true], ['b', 2, false]]

_.xorWith

_.xorWith([arrays], [comparator]) source npm package This method is like _.xor except that it accepts comparator which is invoked to compare elements of arrays. The order of result values is determined by the order they occur in the arrays. The comparator is invoked with two arguments: (arrVal, othVal). Since 4.0.0 Arguments [arrays] (...Array): The arrays to inspect. [comparator] (Function): The comparator invoked per element. Returns (Array): Returns the new array of filtered values. Ex

_.xorBy

_.xorBy([arrays], [iteratee=_.identity]) source npm package This method is like _.xor except that it accepts iteratee which is invoked for each element of each arrays to generate the criterion by which by which they're compared. The order of result values is determined by the order they occur in the arrays. The iteratee is invoked with one argument: (value). Since 4.0.0 Arguments [arrays] (...Array): The arrays to inspect. [iteratee=_.identity] (Function): The iteratee invoked per element.

_.xor

_.xor([arrays]) source npm package Creates an array of unique values that is the symmetric difference of the given arrays. The order of result values is determined by the order they occur in the arrays. Since 2.4.0 Arguments [arrays] (...Array): The arrays to inspect. Returns (Array): Returns the new array of filtered values. Example _.xor([2, 1], [2, 3]); // => [1, 3]

_.wrap

_.wrap(value, [wrapper=identity]) source npm package Creates a function that provides value to wrapper as its first argument. Any additional arguments provided to the function are appended to those provided to the wrapper. The wrapper is invoked with the this binding of the created function. Since 0.1.0 Arguments value (*): The value to wrap. [wrapper=identity] (Function): The wrapper function. Returns (Function): Returns the new function. Example var p = _.wrap(_.escape, function(func, t

_.words

_.words([string=''], [pattern]) source npm package Splits string into an array of its words. Since 3.0.0 Arguments [string=''] (string): The string to inspect. [pattern] (RegExp|string): The pattern to match words. Returns (Array): Returns the words of string. Example _.words('fred, barney, & pebbles'); // => ['fred', 'barney', 'pebbles']   _.words('fred, barney, & pebbles', /[^, ]+/g); // => ['fred', 'barney', '&', 'pebbles']

_.without

_.without(array, [values]) source npm package Creates an array excluding all given values using SameValueZero for equality comparisons.Note: Unlike _.pull, this method returns a new array. Since 0.1.0 Arguments array (Array): The array to inspect. [values] (...*): The values to exclude. Returns (Array): Returns the new array of filtered values. Example _.without([2, 1, 2, 3], 1, 2); // => [3]