_.toPairs

_.toPairs(object) source npm package Creates an array of own enumerable string keyed-value pairs for object which can be consumed by _.fromPairs. If object is a map or set, its entries are returned. Since 4.0.0 Aliases _.entries Arguments object (Object): The object to query. Returns (Array): Returns the key-value pairs. Example function Foo() {   this.a = 1;   this.b = 2; }   Foo.prototype.c = 3;   _.toPairs(new Foo); // => [['a', 1], ['b', 2]] (iteration order is not guaranteed)

_.isArrayLikeObject

_.isArrayLikeObject(value) source npm package This method is like _.isArrayLike except that it also checks if value is an object. Since 4.0.0 Arguments value (*): The value to check. Returns (boolean): Returns true if value is an array-like object, else false. Example _.isArrayLikeObject([1, 2, 3]); // => true   _.isArrayLikeObject(document.body.children); // => true   _.isArrayLikeObject('abc'); // => false   _.isArrayLikeObject(_.noop); // => false

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

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

_.join

_.join(array, [separator=',']) source npm package Converts all elements in array into a string separated by separator. Since 4.0.0 Arguments array (Array): The array to convert. [separator=','] (string): The element separator. Returns (string): Returns the joined string. Example _.join(['a', 'b', 'c'], '~'); // => 'a~b~c'

_.takeRightWhile

_.takeRightWhile(array, [predicate=_.identity]) source npm package Creates a slice of array with elements taken from the end. 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': true },   { 'user

_.tail

_.tail(array) source npm package Gets all but the first element of array. Since 4.0.0 Arguments array (Array): The array to query. Returns (Array): Returns the slice of array. Example _.tail([1, 2, 3]); // => [2, 3]

_.valuesIn

_.valuesIn(object) source npm package Creates an array of the own and inherited enumerable string keyed property values of object.Note: Non-object values are coerced to objects. Since 3.0.0 Arguments object (Object): The object to query. Returns (Array): Returns the array of property values. Example function Foo() {   this.a = 1;   this.b = 2; }   Foo.prototype.c = 3;   _.valuesIn(new Foo); // => [1, 2, 3] (iteration order is not guaranteed)

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

_.forEachRight

_.forEachRight(collection, [iteratee=_.identity]) source npm package This method is like _.forEach except that it iterates over elements of collection from right to left. Since 2.0.0 Aliases _.eachRight Arguments collection (Array|Object): The collection to iterate over. [iteratee=_.identity] (Function): The function invoked per iteration. Returns (*): Returns collection. Example _.forEachRight([1, 2], function(value) {   console.log(value); }); // => Logs `2` then `1`.