_.cloneWith

_.cloneWith(value, [customizer]) source npm package This method is like _.clone except that it accepts customizer which is invoked to produce the cloned value. If customizer returns undefined, cloning is handled by the method instead. The customizer is invoked with up to four arguments; (value [, index|key, object, stack]). Since 4.0.0 Arguments value (*): The value to clone. [customizer] (Function): The function to customize cloning. Returns (*): Returns the cloned value. Example functio

_.isNull

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

_.functions

_.functions(object) source npm package Creates an array of function property names from own enumerable properties of object. Since 0.1.0 Arguments object (Object): The object to inspect. Returns (Array): Returns the function names. Example function Foo() {   this.a = _.constant('a');   this.b = _.constant('b'); }   Foo.prototype.c = _.constant('c');   _.functions(new Foo); // => ['a', 'b']

_.prototype.chain

_.prototype.chain() source Creates a lodash wrapper instance with explicit method chain sequences enabled. Since 0.1.0 Returns (Object): Returns the new lodash wrapper instance. Example var users = [   { 'user': 'barney', 'age': 36 },   { 'user': 'fred',   'age': 40 } ];   // A sequence without explicit chaining. _(users).head(); // => { 'user': 'barney', 'age': 36 }   // A sequence with explicit chaining. _(users)   .chain()   .head()   .pick('user')   .value(); // => { 'user': 'barne

_.lt

_.lt(value, other) source npm package Checks if value is less than other. Since 3.9.0 Arguments value (*): The value to compare. other (*): The other value to compare. Returns (boolean): Returns true if value is less than other, else false. Example _.lt(1, 3); // => true   _.lt(3, 3); // => false   _.lt(3, 1); // => false

_.values

_.values(object) source npm package Creates an array of the own enumerable string keyed property values of object.Note: Non-object values are coerced to objects. Since 0.1.0 Arguments object (Object): The object to query. Returns (Array): Returns the array of property values. Example function Foo() {   this.a = 1;   this.b = 2; }   Foo.prototype.c = 3;   _.values(new Foo); // => [1, 2] (iteration order is not guaranteed)   _.values('hi'); // => ['h', 'i']

_.dropRight

_.dropRight(array, [n=1]) source npm package Creates a slice of array with n elements dropped from the end. Since 3.0.0 Arguments array (Array): The array to query. [n=1] (number): The number of elements to drop. Returns (Array): Returns the slice of array. Example _.dropRight([1, 2, 3]); // => [1, 2]   _.dropRight([1, 2, 3], 2); // => [1]   _.dropRight([1, 2, 3], 5); // => []   _.dropRight([1, 2, 3], 0); // => [1, 2, 3]

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

_.nthArg

_.nthArg([n=0]) source npm package Creates a function that gets the argument at index n. If n is negative, the nth argument from the end is returned. Since 4.0.0 Arguments [n=0] (number): The index of the argument to return. Returns (Function): Returns the new pass-thru function. Example var func = _.nthArg(1); func('a', 'b', 'c', 'd'); // => 'b'   var func = _.nthArg(-2); func('a', 'b', 'c', 'd'); // => 'c'

_.bindAll

_.bindAll(object, methodNames) source npm package Binds methods of an object to the object itself, overwriting the existing method.Note: This method doesn't set the "length" property of bound functions. Since 0.1.0 Arguments object (Object): The object to bind and assign the bound methods to. methodNames (...(string|string[])): The object method names to bind. Returns (Object): Returns object. Example var view = {   'label': 'docs',   'click': function() {     console.log('clicked ' + th