_.defer

_.defer(func, [args]) source npm package Defers invoking the func until the current call stack has cleared. Any additional arguments are provided to func when it's invoked. Since 0.1.0 Arguments func (Function): The function to defer. [args] (...*): The arguments to invoke func with. Returns (number): Returns the timer id. Example _.defer(function(text) {   console.log(text); }, 'deferred'); // => Logs 'deferred' after one millisecond.

_.indexOf

_.indexOf(array, value, [fromIndex=0]) source npm package Gets the index at which the first occurrence of value is found in array using SameValueZero for equality comparisons. If fromIndex is negative, it's used as the offset from the end of array. Since 0.1.0 Arguments array (Array): The array to inspect. value (*): The value to search for. [fromIndex=0] (number): The index to search from. Returns (number): Returns the index of the matched value, else -1. Example _.indexOf([1, 2, 1, 2],

_.upperCase

_.upperCase([string='']) source npm package Converts string, as space separated words, to upper case. Since 4.0.0 Arguments [string=''] (string): The string to convert. Returns (string): Returns the upper cased string. Example _.upperCase('--foo-bar'); // => 'FOO BAR'   _.upperCase('fooBar'); // => 'FOO BAR'   _.upperCase('__foo_bar__'); // => 'FOO BAR'

_.overEvery

_.overEvery([predicates=[_.identity]]) source npm package Creates a function that checks if all of the predicates return truthy when invoked with the arguments it receives. Since 4.0.0 Arguments [predicates=[_.identity]] (...(Function|Function[])): The predicates to check. Returns (Function): Returns the new function. Example var func = _.overEvery([Boolean, isFinite]);   func('1'); // => true   func(null); // => false   func(NaN); // => false

_.forOwnRight

_.forOwnRight(object, [iteratee=_.identity]) source npm package This method is like _.forOwn except that it iterates over properties of object in the opposite order. Since 2.0.0 Arguments object (Object): The object to iterate over. [iteratee=_.identity] (Function): The function invoked per iteration. Returns (Object): Returns object. Example function Foo() {   this.a = 1;   this.b = 2; }   Foo.prototype.c = 3;   _.forOwnRight(new Foo, function(value, key) {   console.log(key); }); // =&g

_.inRange

_.inRange(number, [start=0], end) source npm package Checks if n is between start and up to, but not including, end. If end is not specified, it's set to start with start then set to 0. If start is greater than end the params are swapped to support negative ranges. Since 3.3.0 Arguments number (number): The number to check. [start=0] (number): The start of the range. end (number): The end of the range. Returns (boolean): Returns true if number is in the range, else false. Example _.inRan

_.drop

_.drop(array, [n=1]) source npm package Creates a slice of array with n elements dropped from the beginning. Since 0.5.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 _.drop([1, 2, 3]); // => [2, 3]   _.drop([1, 2, 3], 2); // => [3]   _.drop([1, 2, 3], 5); // => []   _.drop([1, 2, 3], 0); // => [1, 2, 3]

_.isNaN

_.isNaN(value) source npm package Checks if value is NaN.Note: This method is based on Number.isNaN and is not the same as global isNaN which returns true for undefined and other non-number values. Since 0.1.0 Arguments value (*): The value to check. Returns (boolean): Returns true if value is NaN, else false. Example _.isNaN(NaN); // => true   _.isNaN(new Number(NaN)); // => true   isNaN(undefined); // => true   _.isNaN(undefined); // => false

_.prototype.commit

_.prototype.commit() source Executes the chain sequence and returns the wrapped result. Since 3.2.0 Returns (Object): Returns the new lodash wrapper instance. Example var array = [1, 2]; var wrapped = _(array).push(3);   console.log(array); // => [1, 2]   wrapped = wrapped.commit(); console.log(array); // => [1, 2, 3]   wrapped.last(); // => 3   console.log(array); // => [1, 2, 3]

_.maxBy

_.maxBy(array, [iteratee=_.identity]) source npm package This method is like _.max except that it accepts iteratee which is invoked for each element in array to generate the criterion by which the value is ranked. The iteratee is invoked with one argument: (value). Since 4.0.0 Arguments array (Array): The array to iterate over. [iteratee=_.identity] (Function): The iteratee invoked per element. Returns (*): Returns the maximum value. Example var objects = [{ 'n': 1 }, { 'n': 2 }];   _.max