_.sortBy

_.sortBy(collection, [iteratees=[_.identity]]) source npm package Creates an array of elements, sorted in ascending order by the results of running each element in a collection thru each iteratee. This method performs a stable sort, that is, it preserves the original sort order of equal elements. The iteratees are invoked with one argument: (value). Since 0.1.0 Arguments collection (Array|Object): The collection to iterate over. [iteratees=[_.identity]] (...(Function|Function[])): The itera

_.startsWith

_.startsWith([string=''], [target], [position=0]) source npm package Checks if string starts with the given target string. Since 3.0.0 Arguments [string=''] (string): The string to inspect. [target] (string): The string to search for. [position=0] (number): The position to search from. Returns (boolean): Returns true if string starts with target, else false. Example _.startsWith('abc', 'a'); // => true   _.startsWith('abc', 'b'); // => false   _.startsWith('abc', 'b', 1); // => 

_.pullAll

_.pullAll(array, values) source npm package This method is like _.pull except that it accepts an array of values to remove.Note: Unlike _.difference, this method mutates array. Since 4.0.0 Arguments array (Array): The array to modify. values (Array): The values to remove. Returns (Array): Returns array. Example var array = ['a', 'b', 'c', 'a', 'b', 'c'];   _.pullAll(array, ['a', 'c']); console.log(array); // => ['b', 'b']

_.isBoolean

_.isBoolean(value) source npm package Checks if value is classified as a boolean primitive or object. Since 0.1.0 Arguments value (*): The value to check. Returns (boolean): Returns true if value is a boolean, else false. Example _.isBoolean(false); // => true   _.isBoolean(null); // => false

_.partition

_.partition(collection, [predicate=_.identity]) source npm package Creates an array of elements split into two groups, the first of which contains elements predicate returns truthy for, the second of which contains elements predicate returns falsey for. The predicate is invoked with one argument: (value). Since 3.0.0 Arguments collection (Array|Object): The collection to iterate over. [predicate=_.identity] (Function): The function invoked per iteration. Returns (Array): Returns the array

_.words

_.words([string=''], [pattern]) source npm package Splits string into an array of its words. Since 3.0.0 Arguments [string=''] (string): The string to inspect. [pattern] (RegExp|string): The pattern to match words. Returns (Array): Returns the words of string. Example _.words('fred, barney, & pebbles'); // => ['fred', 'barney', 'pebbles']   _.words('fred, barney, & pebbles', /[^, ]+/g); // => ['fred', 'barney', '&', 'pebbles']

_.zipWith

_.zipWith([arrays], [iteratee=_.identity]) source npm package This method is like _.zip except that it accepts iteratee to specify how grouped values should be combined. The iteratee is invoked with the elements of each group: (...group). Since 3.8.0 Arguments [arrays] (...Array): The arrays to process. [iteratee=_.identity] (Function): The function to combine grouped values. Returns (Array): Returns the new array of grouped elements. Example _.zipWith([1, 2], [10, 20], [100, 200], functi

_.conformsTo

_.conformsTo(object, source) source npm package Checks if object conforms to source by invoking the predicate properties of source with the corresponding property values of object.Note: This method is equivalent to _.conforms when source is partially applied. Since 4.14.0 Arguments object (Object): The object to inspect. source (Object): The object of property predicates to conform to. Returns (boolean): Returns true if object conforms, else false. Example var object = { 'a': 1, 'b': 2 };

_.template

_.template([string=''], [options={}]) source npm package Creates a compiled template function that can interpolate data properties in "interpolate" delimiters, HTML-escape interpolated data properties in "escape" delimiters, and execute JavaScript in "evaluate" delimiters. Data properties may be accessed as free variables in the template. If a setting object is given, it takes precedence over _.templateSettings values.Note: In the development build _.template utilizes sourceURLs for easier de

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