_.templateSettings

_.templateSettings source npm package (Object): By default, the template delimiters used by lodash are like those in embedded Ruby (ERB). Change the following template settings to use alternative delimiters.

_.takeWhile

_.takeWhile(array, [predicate=_.identity]) source npm package Creates a slice of array with elements taken from the beginning. Elements are taken until predicate returns falsey. The predicate is invoked with three arguments: (value, index, array). Since 3.0.0 Arguments array (Array): The array to query. [predicate=_.identity] (Function): The function invoked per iteration. Returns (Array): Returns the slice of array. Example var users = [   { 'user': 'barney',  'active': false },   { 'us

_.flow

_.flow([funcs]) source npm package Creates a function that returns the result of invoking the given functions with the this binding of the created function, where each successive invocation is supplied the return value of the previous. Since 3.0.0 Arguments [funcs] (...(Function|Function[])): The functions to invoke. Returns (Function): Returns the new composite function. Example function square(n) {   return n * n; }   var addSquare = _.flow([_.add, square]); addSquare(1, 2); // => 9

_.stubString

_.stubString() source npm package This method returns an empty string. Since 4.13.0 Returns (string): Returns the empty string. Example _.times(2, _.stubString); // => ['', '']

_.toPath

_.toPath(value) source npm package Converts value to a property path array. Since 4.0.0 Arguments value (*): The value to convert. Returns (Array): Returns the new property path array. Example _.toPath('a.b.c'); // => ['a', 'b', 'c']   _.toPath('a[0].b.c'); // => ['a', '0', 'b', 'c']

_.meanBy

_.meanBy(array, [iteratee=_.identity]) source npm package This method is like _.mean except that it accepts iteratee which is invoked for each element in array to generate the value to be averaged. The iteratee is invoked with one argument: (value). Since 4.7.0 Arguments array (Array): The array to iterate over. [iteratee=_.identity] (Function): The iteratee invoked per element. Returns (number): Returns the mean. Example var objects = [{ 'n': 4 }, { 'n': 2 }, { 'n': 8 }, { 'n': 6 }];   _

_.isTypedArray

_.isTypedArray(value) source npm package Checks if value is classified as a typed array. Since 3.0.0 Arguments value (*): The value to check. Returns (boolean): Returns true if value is a typed array, else false. Example _.isTypedArray(new Uint8Array); // => true   _.isTypedArray([]); // => false

_.method

_.method(path, [args]) source npm package Creates a function that invokes the method at path of a given object. Any additional arguments are provided to the invoked method. Since 3.7.0 Arguments path (Array|string): The path of the method to invoke. [args] (...*): The arguments to invoke the method with. Returns (Function): Returns the new invoker function. Example var objects = [   { 'a': { 'b': _.constant(2) } },   { 'a': { 'b': _.constant(1) } } ];   _.map(objects, _.method('a.b')); /

_.identity

_.identity(value) source npm package This method returns the first argument it receives. Since 0.1.0 Arguments value (*): Any value. Returns (*): Returns value. Example var object = { 'a': 1 };   console.log(_.identity(object) === object); // => true

_.sortedIndex

_.sortedIndex(array, value) source npm package Uses a binary search to determine the lowest index at which value should be inserted into array in order to maintain its sort order. Since 0.1.0 Arguments array (Array): The sorted array to inspect. value (*): The value to evaluate. Returns (number): Returns the index at which value should be inserted into array. Example _.sortedIndex([30, 50], 40); // => 1