_.mapKeys

_.mapKeys(object, [iteratee=_.identity]) source npm package The opposite of _.mapValues; this method creates an object with the same values as object and keys generated by running each own enumerable string keyed property of object thru iteratee. The iteratee is invoked with three arguments: (value, key, object). Since 3.8.0 Arguments object (Object): The object to iterate over. [iteratee=_.identity] (Function): The function invoked per iteration. Returns (Object): Returns the new mapped

_.dropWhile

_.dropWhile(array, [predicate=_.identity]) source npm package Creates a slice of array excluding elements dropped from the beginning. Elements are dropped until predicate returns falsey. The predicate is invoked with three arguments: (value, index, array). Since 3.0.0 Arguments array (Array): The array to query. [predicate=_.identity] (Function): The function invoked per iteration. Returns (Array): Returns the slice of array. Example var users = [   { 'user': 'barney',  'active': false },

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

_.identity

_.identity(value) source npm package This method returns the first argument it receives. Since 0.1.0 Arguments value (*): Any value. Returns (*): Returns value. Example var object = { 'a': 1 };   console.log(_.identity(object) === object); // => true

_.toPath

_.toPath(value) source npm package Converts value to a property path array. Since 4.0.0 Arguments value (*): The value to convert. Returns (Array): Returns the new property path array. Example _.toPath('a.b.c'); // => ['a', 'b', 'c']   _.toPath('a[0].b.c'); // => ['a', '0', 'b', 'c']

_.takeWhile

_.takeWhile(array, [predicate=_.identity]) source npm package Creates a slice of array with elements taken from the beginning. Elements are taken until predicate returns falsey. The predicate is invoked with three arguments: (value, index, array). Since 3.0.0 Arguments array (Array): The array to query. [predicate=_.identity] (Function): The function invoked per iteration. Returns (Array): Returns the slice of array. Example var users = [   { 'user': 'barney',  'active': false },   { 'us

_.isWeakSet

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

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

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

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