_.toLength

_.toLength(value) source npm package Converts value to an integer suitable for use as the length of an array-like object.Note: This method is based on ToLength. Since 4.0.0 Arguments value (*): The value to convert. Returns (number): Returns the converted integer. Example _.toLength(3.2); // => 3   _.toLength(Number.MIN_VALUE); // => 0   _.toLength(Infinity); // => 4294967295   _.toLength('3.2'); // => 3

_.hasIn

_.hasIn(object, path) source npm package Checks if path is a direct or inherited property of object. Since 4.0.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 = _.create({ 'a': _.create({ 'b': 2 }) });   _.hasIn(object, 'a'); // => true   _.hasIn(object, 'a.b'); // => true   _.hasIn(object, ['a', 'b']); // => true   _.hasIn(object, 'b'); // => false

_.extendWith

_.assignInWith(object, sources, [customizer]) source npm package This method is like _.assignIn except that it accepts customizer which is invoked to produce the assigned values. If customizer returns undefined, assignment is handled by the method instead. The customizer is invoked with five arguments: (objValue, srcValue, key, object, source).Note: This method mutates object. Since 4.0.0 Aliases _.extendWith Arguments object (Object): The destination object. sources (...Object): The source

_.forInRight

_.forInRight(object, [iteratee=_.identity]) source npm package This method is like _.forIn except that it iterates over properties of object in the opposite order. Since 2.0.0 Arguments object (Object): The object to iterate over. [iteratee=_.identity] (Function): The function invoked per iteration. Returns (Object): Returns object. Example function Foo() {   this.a = 1;   this.b = 2; }   Foo.prototype.c = 3;   _.forInRight(new Foo, function(value, key) {   console.log(key); }); // => 

_.mixin

_.mixin([object=lodash], source, [options={}]) source npm package Adds all own enumerable string keyed function properties of a source object to the destination object. If object is a function, then methods are added to its prototype as well.Note: Use _.runInContext to create a pristine lodash function to avoid conflicts caused by modifying the original. Since 0.1.0 Arguments [object=lodash] (Function|Object): The destination object. source (Object): The object of functions to add. [option

_.replace

_.replace([string=''], pattern, replacement) source npm package Replaces matches for pattern in string with replacement.Note: This method is based on String#replace. Since 4.0.0 Arguments [string=''] (string): The string to modify. pattern (RegExp|string): The pattern to replace. replacement (Function|string): The match replacement. Returns (string): Returns the modified string. Example _.replace('Hi Fred', 'Fred', 'Barney'); // => 'Hi Barney'

_.initial

_.initial(array) source npm package Gets all but the last element of array. Since 0.1.0 Arguments array (Array): The array to query. Returns (Array): Returns the slice of array. Example _.initial([1, 2, 3]); // => [1, 2]

_.invertBy

_.invertBy(object, [iteratee=_.identity]) source npm package This method is like _.invert except that the inverted object is generated from the results of running each element of object thru iteratee. The corresponding inverted value of each inverted key is an array of keys responsible for generating the inverted value. The iteratee is invoked with one argument: (value). Since 4.1.0 Arguments object (Object): The object to invert. [iteratee=_.identity] (Function): The iteratee invoked per e

_.create

_.create(prototype, [properties]) source npm package Creates an object that inherits from the prototype object. If a properties object is given, its own enumerable string keyed properties are assigned to the created object. Since 2.3.0 Arguments prototype (Object): The object to inherit from. [properties] (Object): The properties to assign to the object. Returns (Object): Returns the new object. Example function Shape() {   this.x = 0;   this.y = 0; }   function Circle() {   Shape.call(t

_.noop

_.noop() source npm package This method returns undefined. Since 2.3.0 Example _.times(2, _.noop); // => [undefined, undefined]