_.isFunction
  • References/JavaScript/Underscore/Object

isFunction_.isFunction(object) Returns true if object is a Function.

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

range_.range([start], stop, [step]) A function to create flexibly-numbered lists of integers, handy for each and map

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

compose_.compose(*functions) Returns the composition of a list of functions, where each function consumes the return value

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
_.union
  • References/JavaScript/Underscore/Array

union_.union(*arrays) Computes the union of the passed-in arrays: the list of unique items, in order, that are present in

2025-01-10 15:47:30
_.propertyOf
  • References/JavaScript/Underscore/Object

propertyOf_.propertyOf(object) Inverse of _.property. Takes an object and returns a function which will return the value

2025-01-10 15:47:30
_.defaults
  • References/JavaScript/Underscore/Object

defaults_.defaults(object, *defaults) Fill in undefined properties in object with the first value present in the

2025-01-10 15:47:30
_.extend
  • References/JavaScript/Underscore/Object

extend_.extend(destination, *sources) Copy all of the properties in the source objects over to the destination

2025-01-10 15:47:30
_.matches
  • References/JavaScript/Underscore/Object

matcher_.matcher(attrs) Alias: matches Returns a predicate function that will tell you if a passed

2025-01-10 15:47:30
_.clone
  • References/JavaScript/Underscore/Object

clone_.clone(object) Create a shallow-copied clone of the provided plain object. Any nested objects or arrays will

2025-01-10 15:47:30