_.functions

_.functions(object) source npm package Creates an array of function property names from own enumerable properties of object. Since 0.1.0 Arguments object (Object): The object to inspect. Returns (Array): Returns the function names. Example function Foo() {   this.a = _.constant('a');   this.b = _.constant('b'); }   Foo.prototype.c = _.constant('c');   _.functions(new Foo); // => ['a', 'b']

_.floor

_.floor(number, [precision=0]) source npm package Computes number rounded down to precision. Since 3.10.0 Arguments number (number): The number to round down. [precision=0] (number): The precision to round down to. Returns (number): Returns the rounded down number. Example _.floor(4.006); // => 4   _.floor(0.046, 2); // => 0.04   _.floor(4060, -2); // => 4000

_.templateSettings.variable

_.templateSettings.variable source (string): Used to reference the data object in the template text.

_.negate

_.negate(predicate) source npm package Creates a function that negates the result of the predicate func. The func predicate is invoked with the this binding and arguments of the created function. Since 3.0.0 Arguments predicate (Function): The predicate to negate. Returns (Function): Returns the new negated function. Example function isEven(n) {   return n % 2 == 0; }   _.filter([1, 2, 3, 4, 5, 6], _.negate(isEven)); // => [1, 3, 5]

_.groupBy

_.groupBy(collection, [iteratee=_.identity]) source npm package Creates an object composed of keys generated from the results of running each element of collection thru iteratee. The order of grouped values is determined by the order they occur in collection. The corresponding value of each key is an array of elements responsible for generating the key. The iteratee is invoked with one argument: (value). Since 0.1.0 Arguments collection (Array|Object): The collection to iterate over. [itera

_.find

_.find(collection, [predicate=_.identity], [fromIndex=0]) source npm package Iterates over elements of collection, returning the first element predicate returns truthy for. The predicate is invoked with three arguments: (value, index|key, collection). Since 0.1.0 Arguments collection (Array|Object): The collection to inspect. [predicate=_.identity] (Function): The function invoked per iteration. [fromIndex=0] (number): The index to search from. Returns (*): Returns the matched element, e

_.remove

_.remove(array, [predicate=_.identity]) source npm package Removes all elements from array that predicate returns truthy for and returns an array of the removed elements. The predicate is invoked with three arguments: (value, index, array).Note: Unlike _.filter, this method mutates array. Use _.pull to pull elements from an array by value. Since 2.0.0 Arguments array (Array): The array to modify. [predicate=_.identity] (Function): The function invoked per iteration. Returns (Array): Retur

_.curry

_.curry(func, [arity=func.length]) source npm package Creates a function that accepts arguments of func and either invokes func returning its result, if at least arity number of arguments have been provided, or returns a function that accepts the remaining func arguments, and so on. The arity of func may be specified if func.length is not sufficient.The _.curry.placeholder value, which defaults to _ in monolithic builds, may be used as a placeholder for provided arguments.Note: This method do

_.reverse

_.reverse(array) source npm package Reverses array so that the first element becomes the last, the second element becomes the second to last, and so on.Note: This method mutates array and is based on Array#reverse. Since 4.0.0 Arguments array (Array): The array to modify. Returns (Array): Returns array. Example var array = [1, 2, 3];   _.reverse(array); // => [3, 2, 1]   console.log(array); // => [3, 2, 1]

_.partialRight

_.partialRight(func, [partials]) source npm package This method is like _.partial except that partially applied arguments are appended to the arguments it receives.The _.partialRight.placeholder value, which defaults to _ in monolithic builds, may be used as a placeholder for partially applied arguments.Note: This method doesn't set the "length" property of partially applied functions. Since 1.0.0 Arguments func (Function): The function to partially apply arguments to. [partials] (...*): Th