_.defaultTo

_.defaultTo(value, defaultValue) source npm package Checks value to determine whether a default value should be returned in its place. The defaultValue is returned if value is NaN, null, or undefined. Since 4.14.0 Arguments value (*): The value to check. defaultValue (*): The default value. Returns (*): Returns the resolved value. Example _.defaultTo(1, 10); // => 1   _.defaultTo(undefined, 10); // => 10

_.VERSION

_.VERSION source (string): The semantic version number.

_.iteratee

_.iteratee([func=_.identity]) source npm package Creates a function that invokes func with the arguments of the created function. If func is a property name, the created function returns the property value for a given element. If func is an array or object, the created function returns true for elements that contain the equivalent source properties, otherwise it returns false. Since 4.0.0 Arguments [func=_.identity] (*): The value to convert to a callback. Returns (Function): Returns the ca

_.findLastIndex

_.findLastIndex(array, [predicate=_.identity], [fromIndex=array.length-1]) source npm package This method is like _.findIndex except that it iterates over elements of collection from right to left. Since 2.0.0 Arguments array (Array): The array to inspect. [predicate=_.identity] (Function): The function invoked per iteration. [fromIndex=array.length-1] (number): The index to search from. Returns (number): Returns the index of the found element, else -1. Example var users = [   { 'user': 

_.pullAt

_.pullAt(array, [indexes]) source npm package Removes elements from array corresponding to indexes and returns an array of removed elements.Note: Unlike _.at, this method mutates array. Since 3.0.0 Arguments array (Array): The array to modify. [indexes] (...(number|number[])): The indexes of elements to remove. Returns (Array): Returns the new array of removed elements. Example var array = ['a', 'b', 'c', 'd']; var pulled = _.pullAt(array, [1, 3]);   console.log(array); // => ['a', '

_.isSymbol

_.isSymbol(value) source npm package Checks if value is classified as a Symbol primitive or object. Since 4.0.0 Arguments value (*): The value to check. Returns (boolean): Returns true if value is a symbol, else false. Example _.isSymbol(Symbol.iterator); // => true   _.isSymbol('abc'); // => false

_.noop

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

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

_.isBuffer

_.isBuffer(value) source npm package Checks if value is a buffer. Since 4.3.0 Arguments value (*): The value to check. Returns (boolean): Returns true if value is a buffer, else false. Example _.isBuffer(new Buffer(2)); // => true   _.isBuffer(new Uint8Array(2)); // => false

_.lte

_.lte(value, other) source npm package Checks if value is less than or equal to 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 or equal to other, else false. Example _.lte(1, 3); // => true   _.lte(3, 3); // => true   _.lte(3, 1); // => false