_.defaults

_.defaults(object, [sources]) source npm package Assigns own and inherited enumerable string keyed properties of source objects to the destination object for all destination properties that resolve to undefined. Source objects are applied from left to right. Once a property is set, additional values of the same property are ignored.Note: This method mutates object. Since 0.1.0 Arguments object (Object): The destination object. [sources] (...Object): The source objects. Returns (Object): R

_.sortedLastIndexOf

_.sortedLastIndexOf(array, value) source npm package This method is like _.lastIndexOf except that it performs a binary search on a sorted array. Since 4.0.0 Arguments array (Array): The array to inspect. value (*): The value to search for. Returns (number): Returns the index of the matched value, else -1. Example _.sortedLastIndexOf([4, 5, 5, 5, 6], 5); // => 3

_.invert

_.invert(object) source npm package Creates an object composed of the inverted keys and values of object. If object contains duplicate values, subsequent values overwrite property assignments of previous values. Since 0.7.0 Arguments object (Object): The object to invert. Returns (Object): Returns the new inverted object. Example var object = { 'a': 1, 'b': 2, 'c': 1 };   _.invert(object); // => { '1': 'c', '2': 'b' }

_.isNull

_.isNull(value) source npm package Checks if value is null. Since 0.1.0 Arguments value (*): The value to check. Returns (boolean): Returns true if value is null, else false. Example _.isNull(null); // => true   _.isNull(void 0); // => false

_.ary

_.ary(func, [n=func.length]) source npm package Creates a function that invokes func, with up to n arguments, ignoring any additional arguments. Since 3.0.0 Arguments func (Function): The function to cap arguments for. [n=func.length] (number): The arity cap. Returns (Function): Returns the new capped function. Example _.map(['6', '8', '10'], _.ary(parseInt, 1)); // => [6, 8, 10]

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

_.random

_.random([lower=0], [upper=1], [floating]) source npm package Produces a random number between the inclusive lower and upper bounds. If only one argument is provided a number between 0 and the given number is returned. If floating is true, or either lower or upper are floats, a floating-point number is returned instead of an integer.Note: JavaScript follows the IEEE-754 standard for resolving floating-point values which can produce unexpected results. Since 0.7.0 Arguments [lower=0] (number)

_.difference

_.difference(array, [values]) source npm package Creates an array of array values not included in the other given arrays using SameValueZero for equality comparisons. The order and references of result values are determined by the first array.Note: Unlike _.pullAll, this method returns a new array. Since 0.1.0 Arguments array (Array): The array to inspect. [values] (...Array): The values to exclude. Returns (Array): Returns the new array of filtered values. Example _.difference([2, 1], [2

_.flatMapDepth

_.flatMapDepth(collection, [iteratee=_.identity], [depth=1]) source npm package This method is like _.flatMap except that it recursively flattens the mapped results up to depth times. Since 4.7.0 Arguments collection (Array|Object): The collection to iterate over. [iteratee=_.identity] (Function): The function invoked per iteration. [depth=1] (number): The maximum recursion depth. Returns (Array): Returns the new flattened array. Example function duplicate(n) {   return [[[n, n]]]; }   _

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