_.parseInt

_.parseInt(string, [radix=10]) source npm package Converts string to an integer of the specified radix. If radix is undefined or 0, a radix of 10 is used unless value is a hexadecimal, in which case a radix of 16 is used.Note: This method aligns with the ES5 implementation of parseInt. Since 1.1.0 Arguments string (string): The string to convert. [radix=10] (number): The radix to interpret value by. Returns (number): Returns the converted integer. Example _.parseInt('08'); // => 8   _.

_.stubArray

_.stubArray() source npm package This method returns a new empty array. Since 4.13.0 Returns (Array): Returns the new empty array. Example var arrays = _.times(2, _.stubArray);   console.log(arrays); // => [[], []]   console.log(arrays[0] === arrays[1]); // => false

_.padEnd

_.padEnd([string=''], [length=0], [chars=' ']) source npm package Pads string on the right side if it's shorter than length. Padding characters are truncated if they exceed length. Since 4.0.0 Arguments [string=''] (string): The string to pad. [length=0] (number): The padding length. [chars=' '] (string): The string used as padding. Returns (string): Returns the padded string. Example _.padEnd('abc', 6); // => 'abc   '   _.padEnd('abc', 6, '_-'); // => 'abc_-_'   _.padEnd('abc', 3)

_.prototype.commit

_.prototype.commit() source Executes the chain sequence and returns the wrapped result. Since 3.2.0 Returns (Object): Returns the new lodash wrapper instance. Example var array = [1, 2]; var wrapped = _(array).push(3);   console.log(array); // => [1, 2]   wrapped = wrapped.commit(); console.log(array); // => [1, 2, 3]   wrapped.last(); // => 3   console.log(array); // => [1, 2, 3]

_.curry

_.curry(func, [arity=func.length]) source npm package Creates a function that accepts arguments of func and either invokes func returning its result, if at least arity number of arguments have been provided, or returns a function that accepts the remaining func arguments, and so on. The arity of func may be specified if func.length is not sufficient.The _.curry.placeholder value, which defaults to _ in monolithic builds, may be used as a placeholder for provided arguments.Note: This method do

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

_.forIn

_.forIn(object, [iteratee=_.identity]) source npm package Iterates over own and inherited enumerable string keyed properties of an object and invokes iteratee for each property. The iteratee is invoked with three arguments: (value, key, object). Iteratee functions may exit iteration early by explicitly returning false. Since 0.3.0 Arguments object (Object): The object to iterate over. [iteratee=_.identity] (Function): The function invoked per iteration. Returns (Object): Returns object. E

_.keyBy

_.keyBy(collection, [iteratee=_.identity]) source npm package Creates an object composed of keys generated from the results of running each element of collection thru iteratee. The corresponding value of each key is the last element responsible for generating the key. The iteratee is invoked with one argument: (value). Since 4.0.0 Arguments collection (Array|Object): The collection to iterate over. [iteratee=_.identity] (Function): The iteratee to transform keys. Returns (Object): Returns

_.findKey

_.findKey(object, [predicate=_.identity]) source npm package This method is like _.find except that it returns the key of the first element predicate returns truthy for instead of the element itself. Since 1.1.0 Arguments object (Object): The object to inspect. [predicate=_.identity] (Function): The function invoked per iteration. Returns (*): Returns the key of the matched element, else undefined. Example var users = {   'barney':  { 'age': 36, 'active': true },   'fred':    { 'age': 40

_.update

_.update(object, path, updater) source npm package This method is like _.set except that accepts updater to produce the value to set. Use _.updateWith to customize path creation. The updater is invoked with one argument: (value).Note: This method mutates object. Since 4.6.0 Arguments object (Object): The object to modify. path (Array|string): The path of the property to set. updater (Function): The function to produce the updated value. Returns (Object): Returns object. Example var objec