_.curry

_.curry(func, [arity=func.length]) source npm package Creates a function that accepts arguments of func and either invokes func returning its result, if at least arity number of arguments have been provided, or returns a function that accepts the remaining func arguments, and so on. The arity of func may be specified if func.length is not sufficient.The _.curry.placeholder value, which defaults to _ in monolithic builds, may be used as a placeholder for provided arguments.Note: This method do

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

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

_.reduceRight

_.reduceRight(collection, [iteratee=_.identity], [accumulator]) source npm package This method is like _.reduce except that it iterates over elements of collection from right to left. Since 0.1.0 Arguments collection (Array|Object): The collection to iterate over. [iteratee=_.identity] (Function): The function invoked per iteration. [accumulator] (*): The initial value. Returns (*): Returns the accumulated value. Example var array = [[0, 1], [2, 3], [4, 5]];   _.reduceRight(array, functi

_.differenceWith

_.differenceWith(array, [values], [comparator]) source npm package This method is like _.difference except that it accepts comparator which is invoked to compare elements of array to values. The order and references of result values are determined by the first array. The comparator is invoked with two arguments: (arrVal, othVal).Note: Unlike _.pullAllWith, this method returns a new array. Since 4.0.0 Arguments array (Array): The array to inspect. [values] (...Array): The values to exclude.

_.dropRight

_.dropRight(array, [n=1]) source npm package Creates a slice of array with n elements dropped from the end. Since 3.0.0 Arguments array (Array): The array to query. [n=1] (number): The number of elements to drop. Returns (Array): Returns the slice of array. Example _.dropRight([1, 2, 3]); // => [1, 2]   _.dropRight([1, 2, 3], 2); // => [1]   _.dropRight([1, 2, 3], 5); // => []   _.dropRight([1, 2, 3], 0); // => [1, 2, 3]

_.stubArray

_.stubArray() source npm package This method returns a new empty array. Since 4.13.0 Returns (Array): Returns the new empty array. Example var arrays = _.times(2, _.stubArray);   console.log(arrays); // => [[], []]   console.log(arrays[0] === arrays[1]); // => false

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

_.nthArg

_.nthArg([n=0]) source npm package Creates a function that gets the argument at index n. If n is negative, the nth argument from the end is returned. Since 4.0.0 Arguments [n=0] (number): The index of the argument to return. Returns (Function): Returns the new pass-thru function. Example var func = _.nthArg(1); func('a', 'b', 'c', 'd'); // => 'b'   var func = _.nthArg(-2); func('a', 'b', 'c', 'd'); // => 'c'

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