reject_.reject(list, predicate, [context]) Returns the values in list without the elements that the truth test (predicate) passes. The opposite of filter. var odds = _.reject([1, 2, 3, 4, 5, 6], function(num){ return num % 2 == 0; }); => [1, 3, 5]
isRegExp_.isRegExp(object) Returns true if object is a RegExp. _.isRegExp(/moe/); => true
min_.min(list, [iteratee], [context]) Returns the minimum value in list. If an iteratee function is provided, it will be used on each value to generate the criterion by which the value is ranked. Infinity is returned if list is empty, so an isEmpty guard may be required. var numbers = [10, 5, 100, 2, 1000]; _.min(numbers); => 2
partition_.partition(array, predicate) Split array into two arrays: one whose elements all satisfy predicate and one whose elements all do not satisfy predicate. _.partition([0, 1, 2, 3, 4, 5], isOdd); => [[1, 3, 5], [0, 2, 4]]
isDate_.isDate(object) Returns true if object is a Date. _.isDate(new Date()); => true
pairs_.pairs(object) Convert an object into a list of [key, value] pairs. _.pairs({one: 1, two: 2, three: 3}); => [["one", 1], ["two", 2], ["three", 3]]
first_.first(array, [n]) Alias: head, take Returns the first element of an array. Passing n will return the first n elements of the array. _.first([5, 4, 3, 2, 1]); => 5
isArray_.isArray(object) Returns true if object is an Array. (function(){ return _.isArray(arguments); })(); => false _.isArray([1,2,3]); => true
clone_.clone(object) Create a shallow-copied clone of the provided plain object. Any nested objects or arrays will be copied by reference, not duplicated. _.clone({name: 'moe'}); => {name: 'moe'};
isFunction_.isFunction(object) Returns true if object is a Function. _.isFunction(alert); => true
Page 4 of 12