_.without

_.without(array, [values]) source npm package Creates an array excluding all given values using SameValueZero for equality comparisons.Note: Unlike _.pull, this method returns a new array. Since 0.1.0 Arguments array (Array): The array to inspect. [values] (...*): The values to exclude. Returns (Array): Returns the new array of filtered values. Example _.without([2, 1, 2, 3], 1, 2); // => [3]

_.unset

_.unset(object, path) source npm package Removes the property at path of object.Note: This method mutates object. Since 4.0.0 Arguments object (Object): The object to modify. path (Array|string): The path of the property to unset. Returns (boolean): Returns true if the property is deleted, else false. Example var object = { 'a': [{ 'b': { 'c': 7 } }] }; _.unset(object, 'a[0].b.c'); // => true   console.log(object); // => { 'a': [{ 'b': {} }] };   _.unset(object, ['a', '0', 'b', 'c'

_.toPlainObject

_.toPlainObject(value) source npm package Converts value to a plain object flattening inherited enumerable string keyed properties of value to own properties of the plain object. Since 3.0.0 Arguments value (*): The value to convert. Returns (Object): Returns the converted plain object. Example function Foo() {   this.b = 2; }   Foo.prototype.c = 3;   _.assign({ 'a': 1 }, new Foo); // => { 'a': 1, 'b': 2 }   _.assign({ 'a': 1 }, _.toPlainObject(new Foo)); // => { 'a': 1, 'b': 2, 'c': 

_.compact

_.compact(array) source npm package Creates an array with all falsey values removed. The values false, null, 0, "", undefined, and NaN are falsey. Since 0.1.0 Arguments array (Array): The array to compact. Returns (Array): Returns the new array of filtered values. Example _.compact([0, 1, false, 2, '', 3]); // => [1, 2, 3]

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

_.concat

_.concat(array, [values]) source npm package Creates a new array concatenating array with any additional arrays and/or values. Since 4.0.0 Arguments array (Array): The array to concatenate. [values] (...*): The values to concatenate. Returns (Array): Returns the new concatenated array. Example var array = [1]; var other = _.concat(array, 2, [3], [[4]]);   console.log(other); // => [1, 2, 3, [4]]   console.log(array); // => [1]

_.clamp

_.clamp(number, [lower], upper) source npm package Clamps number within the inclusive lower and upper bounds. Since 4.0.0 Arguments number (number): The number to clamp. [lower] (number): The lower bound. upper (number): The upper bound. Returns (number): Returns the clamped number. Example _.clamp(-10, -5, 5); // => -5   _.clamp(10, -5, 5); // => 5

_.clone

_.clone(value) source npm package Creates a shallow clone of value.Note: This method is loosely based on the structured clone algorithm and supports cloning arrays, array buffers, booleans, date objects, maps, numbers, Object objects, regexes, sets, strings, symbols, and typed arrays. The own enumerable properties of arguments objects are cloned as plain objects. An empty object is returned for uncloneable values such as error objects, functions, DOM nodes, and WeakMaps. Since 0.1.0 Arguments

_.omitBy

_.omitBy(object, [predicate=_.identity]) source npm package The opposite of _.pickBy; this method creates an object composed of the own and inherited enumerable string keyed properties of object that predicate doesn't return truthy for. The predicate is invoked with two arguments: (value, key). Since 4.0.0 Arguments object (Object): The source object. [predicate=_.identity] (Function): The function invoked per property. Returns (Object): Returns the new object. Example var object = { 'a':

_.differenceBy

_.differenceBy(array, [values], [iteratee=_.identity]) source npm package This method is like _.difference except that it accepts iteratee which is invoked for each element of array and values to generate the criterion by which they're compared. The order and references of result values are determined by the first array. The iteratee is invoked with one argument:(value).Note: Unlike _.pullAllBy, this method returns a new array. Since 4.0.0 Arguments array (Array): The array to inspect. [val