_.update

_.update(object, path, updater) source npm package This method is like _.set except that accepts updater to produce the value to set. Use _.updateWith to customize path creation. The updater is invoked with one argument: (value).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 (Function): The function to produce the updated value. Returns (Object): Returns object. Example var objec

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

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

_.forIn

_.forIn(object, [iteratee=_.identity]) source npm package Iterates over own and inherited enumerable string keyed properties of an object and invokes iteratee for each property. The iteratee is invoked with three arguments: (value, key, object). Iteratee functions may exit iteration early by explicitly returning false. Since 0.3.0 Arguments object (Object): The object to iterate over. [iteratee=_.identity] (Function): The function invoked per iteration. Returns (Object): Returns object. E

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

_.sum

_.sum(array) source npm package Computes the sum of the values in array. Since 3.4.0 Arguments array (Array): The array to iterate over. Returns (number): Returns the sum. Example _.sum([4, 2, 8, 6]); // => 20

_.shuffle

_.shuffle(collection) source npm package Creates an array of shuffled values, using a version of the Fisher-Yates shuffle. Since 0.1.0 Arguments collection (Array|Object): The collection to shuffle. Returns (Array): Returns the new shuffled array. Example _.shuffle([1, 2, 3, 4]); // => [4, 1, 3, 2]

_.zip

_.zip([arrays]) source npm package Creates an array of grouped elements, the first of which contains the first elements of the given arrays, the second of which contains the second elements of the given arrays, and so on. Since 0.1.0 Arguments [arrays] (...Array): The arrays to process. Returns (Array): Returns the new array of grouped elements. Example _.zip(['a', 'b'], [1, 2], [true, false]); // => [['a', 1, true], ['b', 2, false]]

_.lowerCase

_.lowerCase([string='']) source npm package Converts string, as space separated words, to lower case. Since 4.0.0 Arguments [string=''] (string): The string to convert. Returns (string): Returns the lower cased string. Example _.lowerCase('--Foo-Bar--'); // => 'foo bar'   _.lowerCase('fooBar'); // => 'foo bar'   _.lowerCase('__FOO_BAR__'); // => 'foo bar'

_.isWeakMap

_.isWeakMap(value) source npm package Checks if value is classified as a WeakMap object. Since 4.3.0 Arguments value (*): The value to check. Returns (boolean): Returns true if value is a weak map, else false. Example _.isWeakMap(new WeakMap); // => true   _.isWeakMap(new Map); // => false