_.zipWith

_.zipWith([arrays], [iteratee=_.identity]) source npm package This method is like _.zip except that it accepts iteratee to specify how grouped values should be combined. The iteratee is invoked with the elements of each group: (...group). Since 3.8.0 Arguments [arrays] (...Array): The arrays to process. [iteratee=_.identity] (Function): The function to combine grouped values. Returns (Array): Returns the new array of grouped elements. Example _.zipWith([1, 2], [10, 20], [100, 200], functi

_.template

_.template([string=''], [options={}]) source npm package Creates a compiled template function that can interpolate data properties in "interpolate" delimiters, HTML-escape interpolated data properties in "escape" delimiters, and execute JavaScript in "evaluate" delimiters. Data properties may be accessed as free variables in the template. If a setting object is given, it takes precedence over _.templateSettings values.Note: In the development build _.template utilizes sourceURLs for easier de

_.get

_.get(object, path, [defaultValue]) source npm package Gets the value at path of object. If the resolved value is undefined, the defaultValue is returned in its place. Since 3.7.0 Arguments object (Object): The object to query. path (Array|string): The path of the property to get. [defaultValue] (*): The value returned for undefined resolved values. Returns (*): Returns the resolved value. Example var object = { 'a': [{ 'b': { 'c': 3 } }] };   _.get(object, 'a[0].b.c'); // => 3   _.ge

_.truncate

_.truncate([string=''], [options={}]) source npm package Truncates string if it's longer than the given maximum string length. The last characters of the truncated string are replaced with the omission string which defaults to "...". Since 4.0.0 Arguments [string=''] (string): The string to truncate. [options={}] (Object): The options object. [options.length=30] (number): The maximum string length. [options.omission='...'] (string): The string to indicate text is omitted. [options.separa

_.isWeakSet

_.isWeakSet(value) source npm package Checks if value is classified as a WeakSet object. Since 4.3.0 Arguments value (*): The value to check. Returns (boolean): Returns true if value is a weak set, else false. Example _.isWeakSet(new WeakSet); // => true   _.isWeakSet(new Set); // => false

_.templateSettings.imports._

_.templateSettings.imports._ source A reference to the lodash function.

_.reject

_.reject(collection, [predicate=_.identity]) source npm package The opposite of _.filter; this method returns the elements of collection that predicate does not return truthy for. Since 0.1.0 Arguments collection (Array|Object): The collection to iterate over. [predicate=_.identity] (Function): The function invoked per iteration. Returns (Array): Returns the new filtered array. Example var users = [   { 'user': 'barney', 'age': 36, 'active': false },   { 'user': 'fred',   'age': 40, 'act

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

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

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