_.sortedIndexBy

_.sortedIndexBy(array, value, [iteratee=_.identity]) source npm package This method is like _.sortedIndex except that it accepts iteratee which is invoked for value and each element of array to compute their sort ranking. The iteratee is invoked with one argument: (value). Since 4.0.0 Arguments array (Array): The sorted array to inspect. value (*): The value to evaluate. [iteratee=_.identity] (Function): The iteratee invoked per element. Returns (number): Returns the index at which value

_.sortedIndex

_.sortedIndex(array, value) source npm package Uses a binary search to determine the lowest index at which value should be inserted into array in order to maintain its sort order. Since 0.1.0 Arguments array (Array): The sorted array to inspect. value (*): The value to evaluate. Returns (number): Returns the index at which value should be inserted into array. Example _.sortedIndex([30, 50], 40); // => 1

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

_.some

_.some(collection, [predicate=_.identity]) source npm package Checks if predicate returns truthy for any element of collection. Iteration is stopped once predicate returns truthy. The predicate is invoked with three arguments: (value, index|key, collection). Since 0.1.0 Arguments collection (Array|Object): The collection to iterate over. [predicate=_.identity] (Function): The function invoked per iteration. Returns (boolean): Returns true if any element passes the predicate check, else fa

_.snakeCase

_.snakeCase([string='']) source npm package Converts string to snake case. Since 3.0.0 Arguments [string=''] (string): The string to convert. Returns (string): Returns the snake cased string. Example _.snakeCase('Foo Bar'); // => 'foo_bar'   _.snakeCase('fooBar'); // => 'foo_bar'   _.snakeCase('--FOO-BAR--'); // => 'foo_bar'

_.slice

_.slice(array, [start=0], [end=array.length]) source npm package Creates a slice of array from start up to, but not including, end.Note: This method is used instead of Array#slice to ensure dense arrays are returned. Since 3.0.0 Arguments array (Array): The array to slice. [start=0] (number): The start position. [end=array.length] (number): The end position. Returns (Array): Returns the slice of array.

_.size

_.size(collection) source npm package Gets the size of collection by returning its length for array-like values or the number of own enumerable string keyed properties for objects. Since 0.1.0 Arguments collection (Array|Object|string): The collection to inspect. Returns (number): Returns the collection size. Example _.size([1, 2, 3]); // => 3   _.size({ 'a': 1, 'b': 2 }); // => 2   _.size('pebbles'); // => 7

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

_.setWith

_.setWith(object, path, value, [customizer]) source npm package This method is like _.set 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.0.0 Arguments object (Object): The object to modify. path (Array|string): The path of the property to set. value (*): The valu

_.set

_.set(object, path, value) source npm package Sets the value at path of object. If a portion of path doesn't exist, it's created. Arrays are created for missing index properties while objects are created for all other missing properties. Use _.setWith to customize path creation.Note: This method mutates object. Since 3.7.0 Arguments object (Object): The object to modify. path (Array|string): The path of the property to set. value (*): The value to set. Returns (Object): Returns object. E