_.unzip

_.unzip(array) source npm package This method is like _.zip except that it accepts an array of grouped elements and creates an array regrouping the elements to their pre-zip configuration. Since 1.2.0 Arguments array (Array): The array of grouped elements to process. Returns (Array): Returns the new array of regrouped elements. Example var zipped = _.zip(['a', 'b'], [1, 2], [true, false]); // => [['a', 1, true], ['b', 2, false]]   _.unzip(zipped); // => [['a', 'b'], [1, 2], [true, fal

_.updateWith

_.updateWith(object, path, updater, [customizer]) source npm package This method is like _.update except that it accepts customizer which is invoked to produce the objects of path. If customizer returns undefined path creation is handled by the method instead. The customizer is invoked with three arguments: (nsValue, key, nsObject).Note: This method mutates object. Since 4.6.0 Arguments object (Object): The object to modify. path (Array|string): The path of the property to set. updater (Fu

_.sample

_.sample(collection) source npm package Gets a random element from collection. Since 2.0.0 Arguments collection (Array|Object): The collection to sample. Returns (*): Returns the random element. Example _.sample([1, 2, 3, 4]); // => 2

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

_.debounce

_.debounce(func, [wait=0], [options={}]) source npm package Creates a debounced function that delays invoking func until after wait milliseconds have elapsed since the last time the debounced function was invoked. The debounced function comes with a cancel method to cancel delayed func invocations and a flush method to immediately invoke them. Provide options to indicate whether func should be invoked on the leading and/or trailing edge of the wait timeout. The func is invoked with the last a

_.inRange

_.inRange(number, [start=0], end) source npm package Checks if n is between start and up to, but not including, end. If end is not specified, it's set to start with start then set to 0. If start is greater than end the params are swapped to support negative ranges. Since 3.3.0 Arguments number (number): The number to check. [start=0] (number): The start of the range. end (number): The end of the range. Returns (boolean): Returns true if number is in the range, else false. Example _.inRan

_.union

_.union([arrays]) source npm package Creates an array of unique values, in order, from all given arrays using SameValueZero for equality comparisons. Since 0.1.0 Arguments [arrays] (...Array): The arrays to inspect. Returns (Array): Returns the new array of combined values. Example _.union([2], [1, 2]); // => [2, 1]

_.toFinite

_.toFinite(value) source npm package Converts value to a finite number. Since 4.12.0 Arguments value (*): The value to convert. Returns (number): Returns the converted number. Example _.toFinite(3.2); // => 3.2   _.toFinite(Number.MIN_VALUE); // => 5e-324   _.toFinite(Infinity); // => 1.7976931348623157e+308   _.toFinite('3.2'); // => 3.2

_.noConflict

_.noConflict() source npm package Reverts the _ variable to its previous value and returns a reference to the lodash function. Since 0.1.0 Returns (Function): Returns the lodash function. Example var lodash = _.noConflict();

_.toNumber

_.toNumber(value) source npm package Converts value to a number. Since 4.0.0 Arguments value (*): The value to process. Returns (number): Returns the number. Example _.toNumber(3.2); // => 3.2   _.toNumber(Number.MIN_VALUE); // => 5e-324   _.toNumber(Infinity); // => Infinity   _.toNumber('3.2'); // => 3.2