_.functionsIn

_.functionsIn(object) source npm package Creates an array of function property names from own and inherited enumerable properties of object. Since 4.0.0 Arguments object (Object): The object to inspect. Returns (Array): Returns the function names. Example function Foo() {   this.a = _.constant('a');   this.b = _.constant('b'); }   Foo.prototype.c = _.constant('c');   _.functionsIn(new Foo); // => ['a', 'b', 'c']

_.sortedUniq

_.sortedUniq(array) source npm package This method is like _.uniq except that it's designed and optimized for sorted arrays. Since 4.0.0 Arguments array (Array): The array to inspect. Returns (Array): Returns the new duplicate free array. Example _.sortedUniq([1, 1, 2]); // => [1, 2]

_.isPlainObject

_.isPlainObject(value) source npm package Checks if value is a plain object, that is, an object created by the Object constructor or one with a [[Prototype]] of null. Since 0.8.0 Arguments value (*): The value to check. Returns (boolean): Returns true if value is a plain object, else false. Example function Foo() {   this.a = 1; }   _.isPlainObject(new Foo); // => false   _.isPlainObject([1, 2, 3]); // => false   _.isPlainObject({ 'x': 0, 'y': 0 }); // => true   _.isPlainObject(Obj

_.methodOf

_.methodOf(object, [args]) source npm package The opposite of _.method; this method creates a function that invokes the method at a given path of object. Any additional arguments are provided to the invoked method. Since 3.7.0 Arguments object (Object): The object to query. [args] (...*): The arguments to invoke the method with. Returns (Function): Returns the new invoker function. Example var array = _.times(3, _.constant),     object = { 'a': array, 'b': array, 'c': array };   _.map(['

_.updateWith

_.updateWith(object, path, updater, [customizer]) source npm package This method is like _.update except that it accepts customizer which is invoked to produce the objects of path. If customizer returns undefined path creation is handled by the method instead. The customizer is invoked with three arguments: (nsValue, key, nsObject).Note: This method mutates object. Since 4.6.0 Arguments object (Object): The object to modify. path (Array|string): The path of the property to set. updater (Fu

_.sample

_.sample(collection) source npm package Gets a random element from collection. Since 2.0.0 Arguments collection (Array|Object): The collection to sample. Returns (*): Returns the random element. Example _.sample([1, 2, 3, 4]); // => 2

_.random

_.random([lower=0], [upper=1], [floating]) source npm package Produces a random number between the inclusive lower and upper bounds. If only one argument is provided a number between 0 and the given number is returned. If floating is true, or either lower or upper are floats, a floating-point number is returned instead of an integer.Note: JavaScript follows the IEEE-754 standard for resolving floating-point values which can produce unexpected results. Since 0.7.0 Arguments [lower=0] (number)

_.without

_.without(array, [values]) source npm package Creates an array excluding all given values using SameValueZero for equality comparisons.Note: Unlike _.pull, this method returns a new array. Since 0.1.0 Arguments array (Array): The array to inspect. [values] (...*): The values to exclude. Returns (Array): Returns the new array of filtered values. Example _.without([2, 1, 2, 3], 1, 2); // => [3]

_.throttle

_.throttle(func, [wait=0], [options={}]) source npm package Creates a throttled function that only invokes func at most once per every wait milliseconds. The throttled function comes with a cancel method to cancel delayed func invocations and a flush method to immediately invoke them. Provide options to indicate whether func should be invoked on the leading and/or trailing edge of the wait timeout. The func is invoked with the last arguments provided to the throttled function. Subsequent call

_.pull

_.pull(array, [values]) source npm package Removes all given values from array using SameValueZero for equality comparisons.Note: Unlike _.without, this method mutates array. Use _.remove to remove elements from an array by predicate. Since 2.0.0 Arguments array (Array): The array to modify. [values] (...*): The values to remove. Returns (Array): Returns array. Example var array = ['a', 'b', 'c', 'a', 'b', 'c'];   _.pull(array, 'a', 'c'); console.log(array); // => ['b', 'b']