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

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

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

_.pullAll

_.pullAll(array, values) source npm package This method is like _.pull except that it accepts an array of values to remove.Note: Unlike _.difference, this method mutates array. Since 4.0.0 Arguments array (Array): The array to modify. values (Array): The values to remove. Returns (Array): Returns array. Example var array = ['a', 'b', 'c', 'a', 'b', 'c'];   _.pullAll(array, ['a', 'c']); console.log(array); // => ['b', 'b']

_.startsWith

_.startsWith([string=''], [target], [position=0]) source npm package Checks if string starts with the given target string. Since 3.0.0 Arguments [string=''] (string): The string to inspect. [target] (string): The string to search for. [position=0] (number): The position to search from. Returns (boolean): Returns true if string starts with target, else false. Example _.startsWith('abc', 'a'); // => true   _.startsWith('abc', 'b'); // => false   _.startsWith('abc', 'b', 1); // => 

_.now

_.now() source npm package Gets the timestamp of the number of milliseconds that have elapsed since the Unix epoch (1 January 1970 00:00:00 UTC). Since 2.4.0 Returns (number): Returns the timestamp. Example _.defer(function(stamp) {   console.log(_.now() - stamp); }, _.now()); // => Logs the number of milliseconds it took for the deferred invocation.

_.uniqueId

_.uniqueId([prefix='']) source npm package Generates a unique ID. If prefix is given, the ID is appended to it. Since 0.1.0 Arguments [prefix=''] (string): The value to prefix the ID with. Returns (string): Returns the unique ID. Example _.uniqueId('contact_'); // => 'contact_104'   _.uniqueId(); // => '105'

_.startCase

_.startCase([string='']) source npm package Converts string to start case. Since 3.1.0 Arguments [string=''] (string): The string to convert. Returns (string): Returns the start cased string. Example _.startCase('--foo-bar--'); // => 'Foo Bar'   _.startCase('fooBar'); // => 'Foo Bar'   _.startCase('__FOO_BAR__'); // => 'FOO BAR'

_.trimEnd

_.trimEnd([string=''], [chars=whitespace]) source npm package Removes trailing whitespace or specified characters from string. Since 4.0.0 Arguments [string=''] (string): The string to trim. [chars=whitespace] (string): The characters to trim. Returns (string): Returns the trimmed string. Example _.trimEnd('  abc  '); // => '  abc'   _.trimEnd('-_-abc-_-', '_-'); // => '-_-abc'

_.property

_.property(path) source npm package Creates a function that returns the value at path of a given object. Since 2.4.0 Arguments path (Array|string): The path of the property to get. Returns (Function): Returns the new accessor function. Example var objects = [   { 'a': { 'b': 2 } },   { 'a': { 'b': 1 } } ];   _.map(objects, _.property('a.b')); // => [2, 1]   _.map(_.sortBy(objects, _.property(['a', 'b'])), 'a.b'); // => [1, 2]