_.sortBy
  • References/JavaScript/Underscore/Collection

sortBy_.sortBy(list, iteratee, [context]) Returns a (stably) sorted copy of list, ranked in ascending order by the results

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

where_.where(list, properties) Looks through each value in the list, returning an array of all the values that contain all

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

shuffle_.shuffle(list) Returns a shuffled copy of the list, using a version of the

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

every_.every(list, [predicate], [context]) Alias: all Returns true if all of the values

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

contains_.contains(list, value, [fromIndex]) Alias: includes Returns true if the value

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

invoke_.invoke(list, methodName, *arguments) Calls the method named by methodName on each value in the list. Any extra

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

find_.find(list, predicate, [context]) Alias: detect Looks through each value in the list

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

sample_.sample(list, [n]) Produce a random sample from the list. Pass a number to return n random elements from the

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

pluck_.pluck(list, propertyName) A convenient version of what is perhaps the most common use-case for map: extracting a list

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

reject_.reject(list, predicate, [context]) Returns the values in list without the elements that the truth test (predicate)

2025-01-10 15:47:30