_.eq

_.eq(value, other) source npm package Performs a SameValueZero comparison between two values to determine if they are equivalent. Since 4.0.0 Arguments value (*): The value to compare. other (*): The other value to compare. Returns (boolean): Returns true if the values are equivalent, else false. Example var object = { 'a': 1 }; var other = { 'a': 1 };   _.eq(object, object); // => true   _.eq(object, other); // => false   _.eq('a', 'a'); // => true   _.eq('a', Object('a')); // 

_.every

_.every(collection, [predicate=_.identity]) source npm package Checks if predicate returns truthy for all elements of collection. Iteration is stopped once predicate returns falsey. The predicate is invoked with three arguments: (value, index|key, collection).Note: This method returns true for empty collections because everything is true of elements of empty collections. Since 0.1.0 Arguments collection (Array|Object): The collection to iterate over. [predicate=_.identity] (Function): The f

_.assign

_.assign(object, [sources]) source npm package Assigns own enumerable string keyed properties of source objects to the destination object. Source objects are applied from left to right. Subsequent sources overwrite property assignments of previous sources.Note: This method mutates object and is loosely based on Object.assign. Since 0.10.0 Arguments object (Object): The destination object. [sources] (...Object): The source objects. Returns (Object): Returns object. Example function Foo() {

_.curryRight

_.curryRight(func, [arity=func.length]) source npm package This method is like _.curry except that arguments are applied to func in the manner of _.partialRight instead of _.partial.The _.curryRight.placeholder value, which defaults to _ in monolithic builds, may be used as a placeholder for provided arguments.Note: This method doesn't set the "length" property of curried functions. Since 3.0.0 Arguments func (Function): The function to curry. [arity=func.length] (number): The arity of func

_.sortedLastIndexBy

_.sortedLastIndexBy(array, value, [iteratee=_.identity]) source npm package This method is like _.sortedLastIndex except that it accepts iteratee which is invoked for value and each element of array to compute their sort ranking. The iteratee is invoked with one argument: (value). Since 4.0.0 Arguments array (Array): The sorted array to inspect. value (*): The value to evaluate. [iteratee=_.identity] (Function): The iteratee invoked per element. Returns (number): Returns the index at whi

_.isNumber

_.isNumber(value) source npm package Checks if value is classified as a Number primitive or object.Note: To exclude Infinity, -Infinity, and NaN, which are classified as numbers, use the _.isFinite method. Since 0.1.0 Arguments value (*): The value to check. Returns (boolean): Returns true if value is a number, else false. Example _.isNumber(3); // => true   _.isNumber(Number.MIN_VALUE); // => true   _.isNumber(Infinity); // => true   _.isNumber('3'); // => false

_.keys

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

_.sample

_.sample(collection) source npm package Gets a random element from collection. Since 2.0.0 Arguments collection (Array|Object): The collection to sample. Returns (*): Returns the random element. Example _.sample([1, 2, 3, 4]); // => 2

_.isSafeInteger

_.isSafeInteger(value) source npm package Checks if value is a safe integer. An integer is safe if it's an IEEE-754 double precision number which isn't the result of a rounded unsafe integer.Note: This method is based on Number.isSafeInteger. Since 4.0.0 Arguments value (*): The value to check. Returns (boolean): Returns true if value is a safe integer, else false. Example _.isSafeInteger(3); // => true   _.isSafeInteger(Number.MIN_VALUE); // => false   _.isSafeInteger(Infinity); // =

_.xor

_.xor([arrays]) source npm package Creates an array of unique values that is the symmetric difference of the given arrays. The order of result values is determined by the order they occur in the arrays. Since 2.4.0 Arguments [arrays] (...Array): The arrays to inspect. Returns (Array): Returns the new array of filtered values. Example _.xor([2, 1], [2, 3]); // => [1, 3]