_.partition

_.partition(collection, [predicate=_.identity]) source npm package Creates an array of elements split into two groups, the first of which contains elements predicate returns truthy for, the second of which contains elements predicate returns falsey for. The predicate is invoked with one argument: (value). Since 3.0.0 Arguments collection (Array|Object): The collection to iterate over. [predicate=_.identity] (Function): The function invoked per iteration. Returns (Array): Returns the array

_.words

_.words([string=''], [pattern]) source npm package Splits string into an array of its words. Since 3.0.0 Arguments [string=''] (string): The string to inspect. [pattern] (RegExp|string): The pattern to match words. Returns (Array): Returns the words of string. Example _.words('fred, barney, & pebbles'); // => ['fred', 'barney', 'pebbles']   _.words('fred, barney, & pebbles', /[^, ]+/g); // => ['fred', 'barney', '&', 'pebbles']

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

_.at

_.at(object, [paths]) source npm package Creates an array of values corresponding to paths of object. Since 1.0.0 Arguments object (Object): The object to iterate over. [paths] (...(string|string[])): The property paths to pick. Returns (Array): Returns the picked values. Example var object = { 'a': [{ 'b': { 'c': 3 } }, 4] };   _.at(object, ['a[0].b.c', 'a[1]']); // => [3, 4]

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