Here you can find all the methods available for your JavaScript needs! Check out these awesome tables:
Method Name | Description |
---|---|
_.chunk(array, [size=1]) | Creates an array of elements split into groups the length of size. |
_.compact(array) | Creates an array with all falsey values removed. |
_.concat(array, [values]) | Creates a new array concatenating array with any additional arrays and/or values. |
_.difference(array, [values]) | Creates an array of array values not included in the other given arrays. |
Method Name | Description |
---|---|
_.drop(array, [n=1]) | Creates a slice of array with n elements dropped from the beginning. |
_.dropRight(array, [n=1]) | Creates a slice of array with n elements dropped from the end. |
_.fill(array, value, [start=0], [end=array.length]) | Fills elements of array with value from start up to, but not including, end. |
_.findIndex(array, [predicate=_.identity], [fromIndex=0]) | This method is like _.find except that it returns the index of the first element. |