_.invert
  • References/JavaScript/Underscore/Object

invert_.invert(object) Returns a copy of the object where the keys have become the values and the values the keys. For this

2025-01-10 15:47:30
_.toArray
  • References/JavaScript/Underscore/Collection

toArray_.toArray(list) Creates a real Array from the list (anything that can be iterated over). Useful for transmuting the

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
_.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
_.now
  • References/JavaScript/Underscore/Utility

now_.now() Returns an integer timestamp for the current time, using the fastest method available in the runtime. Useful for implementing

2025-01-10 15:47:30
_.min
  • References/JavaScript/Underscore/Collection

min_.min(list, [iteratee], [context]) Returns the minimum value in list. If an iteratee function is provided, it will

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

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

2025-01-10 15:47:30
_.after
  • References/JavaScript/Underscore/Function

after_.after(count, function) Creates a version of the function that will only be run after first being called count times

2025-01-10 15:47:30
_.memoize
  • References/JavaScript/Underscore/Function

memoize_.memoize(function, [hashFunction]) Memoizes a given function by caching the computed result. Useful for speeding up

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