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

_.functions

_.functions(object) source npm package Creates an array of function property names from own enumerable properties of object. Since 0.1.0 Arguments object (Object): The object to inspect. Returns (Array): Returns the function names. Example function Foo() {   this.a = _.constant('a');   this.b = _.constant('b'); }   Foo.prototype.c = _.constant('c');   _.functions(new Foo); // => ['a', 'b']

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

_.thru

_.thru(value, interceptor) source This method is like _.tap except that it returns the result of interceptor. The purpose of this method is to "pass thru" values replacing intermediate results in a method chain sequence. Since 3.0.0 Arguments value (*): The value to provide to interceptor. interceptor (Function): The function to invoke. Returns (*): Returns the result of interceptor. Example _('  abc  ')  .chain()  .trim()  .thru(function(value) {    return [value];  })  .value(); // => 

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