_.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.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]

_.toSafeInteger

_.toSafeInteger(value) source npm package Converts value to a safe integer. A safe integer can be compared and represented correctly. Since 4.0.0 Arguments value (*): The value to convert. Returns (number): Returns the converted integer. Example _.toSafeInteger(3.2); // => 3   _.toSafeInteger(Number.MIN_VALUE); // => 0   _.toSafeInteger(Infinity); // => 9007199254740991   _.toSafeInteger('3.2'); // => 3

_.trimStart

_.trimStart([string=''], [chars=whitespace]) source npm package Removes leading whitespace or specified characters from string. Since 4.0.0 Arguments [string=''] (string): The string to trim. [chars=whitespace] (string): The characters to trim. Returns (string): Returns the trimmed string. Example _.trimStart('  abc  '); // => 'abc  '   _.trimStart('-_-abc-_-', '_-'); // => 'abc-_-'

_.unionBy

_.unionBy([arrays], [iteratee=_.identity]) source npm package This method is like _.union except that it accepts iteratee which is invoked for each element of each arrays to generate the criterion by which uniqueness is computed. Result values are chosen from the first array in which the value occurs. 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. Retur

_.unionWith

_.unionWith([arrays], [comparator]) source npm package This method is like _.union except that it accepts comparator which is invoked to compare elements of arrays. Result values are chosen from the first array in which the value occurs. 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 combined values. Examp

_.uniq

_.uniq(array) source npm package Creates a duplicate-free version of an array, using SameValueZero for equality comparisons, in which only the first occurrence of each element is kept. The order of result values is determined by the order they occur in the array. Since 0.1.0 Arguments array (Array): The array to inspect. Returns (Array): Returns the new duplicate free array. Example _.uniq([2, 1, 2]); // => [2, 1]

_.uniqWith

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

_.unzipWith

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

_.differenceBy

_.differenceBy(array, [values], [iteratee=_.identity]) source npm package This method is like _.difference except that it accepts iteratee which is invoked for each element of array and values to generate the criterion by which they're compared. The order and references of result values are determined by the first array. The iteratee is invoked with one argument:(value).Note: Unlike _.pullAllBy, this method returns a new array. Since 4.0.0 Arguments array (Array): The array to inspect. [val