_.has

_.has(object, path) source npm package Checks if path is a direct property of object. Since 0.1.0 Arguments object (Object): The object to query. path (Array|string): The path to check. Returns (boolean): Returns true if path exists, else false. Example var object = { 'a': { 'b': 2 } }; var other = _.create({ 'a': _.create({ 'b': 2 }) });   _.has(object, 'a'); // => true   _.has(object, 'a.b'); // => true   _.has(object, ['a', 'b']); // => true   _.has(other, 'a'); // => fals

_.omit

_.omit(object, [paths]) source npm package The opposite of _.pick; this method creates an object composed of the own and inherited enumerable property paths of object that are not omitted.Note: This method is considerably slower than _.pick. Since 0.1.0 Arguments object (Object): The source object. [paths] (...(string|string[])): The property paths to omit. Returns (Object): Returns the new object. Example var object = { 'a': 1, 'b': '2', 'c': 3 };   _.omit(object, ['a', 'c']); // => {

_.invokeMap

_.invokeMap(collection, path, [args]) source npm package Invokes the method at path of each element in collection, returning an array of the results of each invoked method. Any additional arguments are provided to each invoked method. If path is a function, it's invoked for, and this bound to, each element in collection. Since 4.0.0 Arguments collection (Array|Object): The collection to iterate over. path (Array|Function|string): The path of the method to invoke or the function invoked per

_.at

_.at(object, [paths]) source npm package Creates an array of values corresponding to paths of object. Since 1.0.0 Arguments object (Object): The object to iterate over. [paths] (...(string|string[])): The property paths to pick. Returns (Array): Returns the picked values. Example var object = { 'a': [{ 'b': { 'c': 3 } }, 4] };   _.at(object, ['a[0].b.c', 'a[1]']); // => [3, 4]

_.meanBy

_.meanBy(array, [iteratee=_.identity]) source npm package This method is like _.mean except that it accepts iteratee which is invoked for each element in array to generate the value to be averaged. The iteratee is invoked with one argument: (value). Since 4.7.0 Arguments array (Array): The array to iterate over. [iteratee=_.identity] (Function): The iteratee invoked per element. Returns (number): Returns the mean. Example var objects = [{ 'n': 4 }, { 'n': 2 }, { 'n': 8 }, { 'n': 6 }];   _

_.intersection

_.intersection([arrays]) source npm package Creates an array of unique values that are included in all given arrays using SameValueZero for equality comparisons. The order and references of result values are determined by the first array. Since 0.1.0 Arguments [arrays] (...Array): The arrays to inspect. Returns (Array): Returns the new array of intersecting values. Example _.intersection([2, 1], [2, 3]); // => [2]

_.flatMap

_.flatMap(collection, [iteratee=_.identity]) source npm package Creates a flattened array of values by running each element in collection thru iteratee and flattening the mapped results. The iteratee is invoked with three arguments: (value, index|key, collection). Since 4.0.0 Arguments collection (Array|Object): The collection to iterate over. [iteratee=_.identity] (Function): The function invoked per iteration. Returns (Array): Returns the new flattened array. Example function duplicate(

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

_.floor

_.floor(number, [precision=0]) source npm package Computes number rounded down to precision. Since 3.10.0 Arguments number (number): The number to round down. [precision=0] (number): The precision to round down to. Returns (number): Returns the rounded down number. Example _.floor(4.006); // => 4   _.floor(0.046, 2); // => 0.04   _.floor(4060, -2); // => 4000

_.findIndex

_.findIndex(array, [predicate=_.identity], [fromIndex=0]) source npm package This method is like _.find except that it returns the index of the first element predicate returns truthy for instead of the element itself. Since 1.1.0 Arguments array (Array): The array to inspect. [predicate=_.identity] (Function): The function invoked per iteration. [fromIndex=0] (number): The index to search from. Returns (number): Returns the index of the found element, else -1. Example var users = [   { '