_.stubString

_.stubString() source npm package This method returns an empty string. Since 4.13.0 Returns (string): Returns the empty string. Example _.times(2, _.stubString); // => ['', '']

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

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

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

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

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

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

_.isNaN

_.isNaN(value) source npm package Checks if value is NaN.Note: This method is based on Number.isNaN and is not the same as global isNaN which returns true for undefined and other non-number values. Since 0.1.0 Arguments value (*): The value to check. Returns (boolean): Returns true if value is NaN, else false. Example _.isNaN(NaN); // => true   _.isNaN(new Number(NaN)); // => true   isNaN(undefined); // => true   _.isNaN(undefined); // => false

_.wrap

_.wrap(value, [wrapper=identity]) source npm package Creates a function that provides value to wrapper as its first argument. Any additional arguments provided to the function are appended to those provided to the wrapper. The wrapper is invoked with the this binding of the created function. Since 0.1.0 Arguments value (*): The value to wrap. [wrapper=identity] (Function): The wrapper function. Returns (Function): Returns the new function. Example var p = _.wrap(_.escape, function(func, t

_.pullAllBy

_.pullAllBy(array, values, [iteratee=_.identity]) source npm package This method is like _.pullAll except that it accepts iteratee which is invoked for each element of array and values to generate the criterion by which they're compared. The iteratee is invoked with one argument: (value).Note: Unlike _.differenceBy, this method mutates array. Since 4.0.0 Arguments array (Array): The array to modify. values (Array): The values to remove. [iteratee=_.identity] (Function): The iteratee invoke