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

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

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

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

_.lt

_.lt(value, other) source npm package Checks if value is less than other. Since 3.9.0 Arguments value (*): The value to compare. other (*): The other value to compare. Returns (boolean): Returns true if value is less than other, else false. Example _.lt(1, 3); // => true   _.lt(3, 3); // => false   _.lt(3, 1); // => false

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

_.after

_.after(n, func) source npm package The opposite of _.before; this method creates a function that invokes func once it's called n or more times. Since 0.1.0 Arguments n (number): The number of calls before func is invoked. func (Function): The function to restrict. Returns (Function): Returns the new restricted function. Example var saves = ['profile', 'settings'];   var done = _.after(saves.length, function() {   console.log('done saving!'); });   _.forEach(saves, function(type) {   asy