_.ceil

_.ceil(number, [precision=0]) source npm package Computes number rounded up to precision. Since 3.10.0 Arguments number (number): The number to round up. [precision=0] (number): The precision to round up to. Returns (number): Returns the rounded up number. Example _.ceil(4.006); // => 5   _.ceil(6.004, 2); // => 6.01   _.ceil(6040, -2); // => 6100

_.isNil

_.isNil(value) source npm package Checks if value is null or undefined. Since 4.0.0 Arguments value (*): The value to check. Returns (boolean): Returns true if value is nullish, else false. Example _.isNil(null); // => true   _.isNil(void 0); // => true   _.isNil(NaN); // => false

_.intersectionBy

_.intersectionBy([arrays], [iteratee=_.identity]) source npm package This method is like _.intersection except that it accepts iteratee which is invoked for each element of each arrays to generate the criterion by which they're compared. The order and references of result values are determined by the first array. The iteratee is invoked with one argument:(value). Since 4.0.0 Arguments [arrays] (...Array): The arrays to inspect. [iteratee=_.identity] (Function): The iteratee invoked per elem

_.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(); // => 

_.includes

_.includes(collection, value, [fromIndex=0]) source npm package Checks if value is in collection. If collection is a string, it's checked for a substring of value, otherwise SameValueZero is used for equality comparisons. If fromIndex is negative, it's used as the offset from the end of collection. Since 0.1.0 Arguments collection (Array|Object|string): The collection to inspect. value (*): The value to search for. [fromIndex=0] (number): The index to search from. Returns (boolean): Retu

_.endsWith

_.endsWith([string=''], [target], [position=string.length]) source npm package Checks if string ends with the given target string. Since 3.0.0 Arguments [string=''] (string): The string to inspect. [target] (string): The string to search for. [position=string.length] (number): The position to search up to. Returns (boolean): Returns true if string ends with target, else false. Example _.endsWith('abc', 'c'); // => true   _.endsWith('abc', 'b'); // => false   _.endsWith('abc', 'b', 

_.unionBy

_.unionBy([arrays], [iteratee=_.identity]) source npm package This method is like _.union except that it accepts iteratee which is invoked for each element of each arrays to generate the criterion by which uniqueness is computed. Result values are chosen from the first array in which the value occurs. The iteratee is invoked with one argument:(value). Since 4.0.0 Arguments [arrays] (...Array): The arrays to inspect. [iteratee=_.identity] (Function): The iteratee invoked per element. Retur

_.size

_.size(collection) source npm package Gets the size of collection by returning its length for array-like values or the number of own enumerable string keyed properties for objects. Since 0.1.0 Arguments collection (Array|Object|string): The collection to inspect. Returns (number): Returns the collection size. Example _.size([1, 2, 3]); // => 3   _.size({ 'a': 1, 'b': 2 }); // => 2   _.size('pebbles'); // => 7

_.zipObject

_.zipObject([props=[]], [values=[]]) source npm package This method is like _.fromPairs except that it accepts two arrays, one of property identifiers and one of corresponding values. Since 0.4.0 Arguments [props=[]] (Array): The property identifiers. [values=[]] (Array): The property values. Returns (Object): Returns the new object. Example _.zipObject(['a', 'b'], [1, 2]); // => { 'a': 1, 'b': 2 }

_.slice

_.slice(array, [start=0], [end=array.length]) source npm package Creates a slice of array from start up to, but not including, end.Note: This method is used instead of Array#slice to ensure dense arrays are returned. Since 3.0.0 Arguments array (Array): The array to slice. [start=0] (number): The start position. [end=array.length] (number): The end position. Returns (Array): Returns the slice of array.