_.reduceRight

_.reduceRight(collection, [iteratee=_.identity], [accumulator]) source npm package This method is like _.reduce except that it iterates over elements of collection from right to left. Since 0.1.0 Arguments collection (Array|Object): The collection to iterate over. [iteratee=_.identity] (Function): The function invoked per iteration. [accumulator] (*): The initial value. Returns (*): Returns the accumulated value. Example var array = [[0, 1], [2, 3], [4, 5]];   _.reduceRight(array, functi

_.unary

_.unary(func) source npm package Creates a function that accepts up to one argument, ignoring any additional arguments. Since 4.0.0 Arguments func (Function): The function to cap arguments for. Returns (Function): Returns the new capped function. Example _.map(['6', '8', '10'], _.unary(parseInt)); // => [6, 8, 10]

_.mapValues

_.mapValues(object, [iteratee=_.identity]) source npm package Creates an object with the same keys as object and values generated by running each own enumerable string keyed property of object thru iteratee. The iteratee is invoked with three arguments:(value, key, object). Since 2.4.0 Arguments object (Object): The object to iterate over. [iteratee=_.identity] (Function): The function invoked per iteration. Returns (Object): Returns the new mapped object. Example var users = {   'fred': 

_.indexOf

_.indexOf(array, value, [fromIndex=0]) source npm package Gets the index at which the first occurrence of value is found in array using SameValueZero for equality comparisons. If fromIndex is negative, it's used as the offset from the end of array. Since 0.1.0 Arguments array (Array): The array to inspect. value (*): The value to search for. [fromIndex=0] (number): The index to search from. Returns (number): Returns the index of the matched value, else -1. Example _.indexOf([1, 2, 1, 2],

_.isUndefined

_.isUndefined(value) source npm package Checks if value is undefined. Since 0.1.0 Arguments value (*): The value to check. Returns (boolean): Returns true if value is undefined, else false. Example _.isUndefined(void 0); // => true   _.isUndefined(null); // => false

_.extend

_.assignIn(object, [sources]) source npm package This method is like _.assign except that it iterates over own and inherited source properties.Note: This method mutates object. Since 4.0.0 Aliases _.extend Arguments object (Object): The destination object. [sources] (...Object): The source objects. Returns (Object): Returns object. Example function Foo() {   this.a = 1; }   function Bar() {   this.c = 3; }   Foo.prototype.b = 2; Bar.prototype.d = 4;   _.assignIn({ 'a': 0 }, new Foo, new 

_.fromPairs

_.fromPairs(pairs) source npm package The inverse of _.toPairs; this method returns an object composed from key-value pairs. Since 4.0.0 Arguments pairs (Array): The key-value pairs. Returns (Object): Returns the new object. Example _.fromPairs([['a', 1], ['b', 2]]); // => { 'a': 1, 'b': 2 }

_.prototype.valueOf

_.prototype.value() source Executes the chain sequence to resolve the unwrapped value. Since 0.1.0 Aliases _.prototype.toJSON, _.prototype.valueOf Returns (*): Returns the resolved unwrapped value. Example _([1, 2, 3]).value(); // => [1, 2, 3]

_.isEmpty

_.isEmpty(value) source npm package Checks if value is an empty object, collection, map, or set.Objects are considered empty if they have no own enumerable string keyed properties.Array-like values such as arguments objects, arrays, buffers, strings, or jQuery-like collections are considered empty if they have a length of 0. Similarly, maps and sets are considered empty if they have a size of 0. Since 0.1.0 Arguments value (*): The value to check. Returns (boolean): Returns true if value is

_.ceil

_.ceil(number, [precision=0]) source npm package Computes number rounded up to precision. Since 3.10.0 Arguments number (number): The number to round up. [precision=0] (number): The precision to round up to. Returns (number): Returns the rounded up number. Example _.ceil(4.006); // => 5   _.ceil(6.004, 2); // => 6.01   _.ceil(6040, -2); // => 6100