_.zip
  • References/JavaScript/Underscore/Array

zip_.zip(*arrays) Merges together the values of each of the arrays with the values at the corresponding position. Useful when

2025-01-10 15:47:30
_.initial
  • References/JavaScript/Underscore/Array

initial_.initial(array, [n]) Returns everything but the last entry of the array. Especially useful on the arguments object. Pass

2025-01-10 15:47:30
_.indexOf
  • References/JavaScript/Underscore/Array

indexOf_.indexOf(array, value, [isSorted]) Returns the index at which value can be found in the array, or -1

2025-01-10 15:47:30
_.compact
  • References/JavaScript/Underscore/Array

compact_.compact(array) Returns a copy of the array with all falsy values removed. In JavaScript, false, null

2025-01-10 15:47:30
_.findLastIndex
  • References/JavaScript/Underscore/Array

findLastIndex_.findLastIndex(array, predicate, [context]) Like _

2025-01-10 15:47:30
_.flatten
  • References/JavaScript/Underscore/Array

flatten_.flatten(array, [shallow]) Flattens a nested array (the nesting can be to any depth). If you pass shallow,

2025-01-10 15:47:30
_.findIndex
  • References/JavaScript/Underscore/Array

findIndex_.findIndex(array, predicate, [context]) Similar to _

2025-01-10 15:47:30
_.object
  • References/JavaScript/Underscore/Array

object_.object(list, [values]) Converts arrays into objects. Pass either a single list of [key, value] pairs, or a list

2025-01-10 15:47:30
_.unique
  • References/JavaScript/Underscore/Array

uniq_.uniq(array, [isSorted], [iteratee]) Alias: unique Produces a duplicate-free version of the

2025-01-10 15:47:30
_.without
  • References/JavaScript/Underscore/Array

without_.without(array, *values) Returns a copy of the array with all instances of the values removed.

2025-01-10 15:47:30