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

_.forEachRight

_.forEachRight(collection, [iteratee=_.identity]) source npm package This method is like _.forEach except that it iterates over elements of collection from right to left. Since 2.0.0 Aliases _.eachRight Arguments collection (Array|Object): The collection to iterate over. [iteratee=_.identity] (Function): The function invoked per iteration. Returns (*): Returns collection. Example _.forEachRight([1, 2], function(value) {   console.log(value); }); // => Logs `2` then `1`.

_.stubObject

_.stubObject() source npm package This method returns a new empty object. Since 4.13.0 Returns (Object): Returns the new empty object. Example var objects = _.times(2, _.stubObject);   console.log(objects); // => [{}, {}]   console.log(objects[0] === objects[1]); // => false

_.subtract

_.subtract(minuend, subtrahend) source npm package Subtract two numbers. Since 4.0.0 Arguments minuend (number): The first number in a subtraction. subtrahend (number): The second number in a subtraction. Returns (number): Returns the difference. Example _.subtract(6, 4); // => 2

_.isWeakMap

_.isWeakMap(value) source npm package Checks if value is classified as a WeakMap object. Since 4.3.0 Arguments value (*): The value to check. Returns (boolean): Returns true if value is a weak map, else false. Example _.isWeakMap(new WeakMap); // => true   _.isWeakMap(new Map); // => false

_.zip

_.zip([arrays]) source npm package Creates an array of grouped elements, the first of which contains the first elements of the given arrays, the second of which contains the second elements of the given arrays, and so on. Since 0.1.0 Arguments [arrays] (...Array): The arrays to process. Returns (Array): Returns the new array of grouped elements. Example _.zip(['a', 'b'], [1, 2], [true, false]); // => [['a', 1, true], ['b', 2, false]]

_.rest

_.rest(func, [start=func.length-1]) source npm package Creates a function that invokes func with the this binding of the created function and arguments from start and beyond provided as an array.Note: This method is based on the rest parameter. Since 4.0.0 Arguments func (Function): The function to apply a rest parameter to. [start=func.length-1] (number): The start position of the rest parameter. Returns (Function): Returns the new function. Example var say = _.rest(function(what, names)

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

_.toFinite

_.toFinite(value) source npm package Converts value to a finite number. Since 4.12.0 Arguments value (*): The value to convert. Returns (number): Returns the converted number. Example _.toFinite(3.2); // => 3.2   _.toFinite(Number.MIN_VALUE); // => 5e-324   _.toFinite(Infinity); // => 1.7976931348623157e+308   _.toFinite('3.2'); // => 3.2

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