_.isElement

_.isElement(value) source npm package Checks if value is likely a DOM element. Since 0.1.0 Arguments value (*): The value to check. Returns (boolean): Returns true if value is a DOM element, else false. Example _.isElement(document.body); // => true   _.isElement('<body>'); // => false

_.indexOf

_.indexOf(array, value, [fromIndex=0]) source npm package Gets the index at which the first occurrence of value is found in array using SameValueZero for equality comparisons. If fromIndex is negative, it's used as the offset from the end of array. Since 0.1.0 Arguments array (Array): The array to inspect. value (*): The value to search for. [fromIndex=0] (number): The index to search from. Returns (number): Returns the index of the matched value, else -1. Example _.indexOf([1, 2, 1, 2],

_.wrap

_.wrap(value, [wrapper=identity]) source npm package Creates a function that provides value to wrapper as its first argument. Any additional arguments provided to the function are appended to those provided to the wrapper. The wrapper is invoked with the this binding of the created function. Since 0.1.0 Arguments value (*): The value to wrap. [wrapper=identity] (Function): The wrapper function. Returns (Function): Returns the new function. Example var p = _.wrap(_.escape, function(func, t

_.upperCase

_.upperCase([string='']) source npm package Converts string, as space separated words, to upper case. Since 4.0.0 Arguments [string=''] (string): The string to convert. Returns (string): Returns the upper cased string. Example _.upperCase('--foo-bar'); // => 'FOO BAR'   _.upperCase('fooBar'); // => 'FOO BAR'   _.upperCase('__foo_bar__'); // => 'FOO BAR'

_.trim

_.trim([string=''], [chars=whitespace]) source npm package Removes leading and trailing whitespace or specified characters from string. Since 3.0.0 Arguments [string=''] (string): The string to trim. [chars=whitespace] (string): The characters to trim. Returns (string): Returns the trimmed string. Example _.trim('  abc  '); // => 'abc'   _.trim('-_-abc-_-', '_-'); // => 'abc'   _.map(['  foo  ', '  bar  '], _.trim); // => ['foo', 'bar']

_.keysIn

_.keysIn(object) source npm package Creates an array of the own and inherited enumerable property names of object.Note: Non-object values are coerced to objects. Since 3.0.0 Arguments object (Object): The object to query. Returns (Array): Returns the array of property names. Example function Foo() {   this.a = 1;   this.b = 2; }   Foo.prototype.c = 3;   _.keysIn(new Foo); // => ['a', 'b', 'c'] (iteration order is not guaranteed)

_.findLast

_.findLast(collection, [predicate=_.identity], [fromIndex=collection.length-1]) source npm package This method is like _.find except that it iterates over elements of collection from right to left. Since 2.0.0 Arguments collection (Array|Object): The collection to inspect. [predicate=_.identity] (Function): The function invoked per iteration. [fromIndex=collection.length-1] (number): The index to search from. Returns (*): Returns the matched element, else undefined. Example _.findLast([1

_.sortedLastIndex

_.sortedLastIndex(array, value) source npm package This method is like _.sortedIndex except that it returns the highest index at which value should be inserted into array in order to maintain its sort order. Since 3.0.0 Arguments array (Array): The sorted array to inspect. value (*): The value to evaluate. Returns (number): Returns the index at which value should be inserted into array. Example _.sortedLastIndex([4, 5, 5, 5, 6], 5); // => 4

_.forEachRight

_.forEachRight(collection, [iteratee=_.identity]) source npm package This method is like _.forEach except that it iterates over elements of collection from right to left. Since 2.0.0 Aliases _.eachRight Arguments collection (Array|Object): The collection to iterate over. [iteratee=_.identity] (Function): The function invoked per iteration. Returns (*): Returns collection. Example _.forEachRight([1, 2], function(value) {   console.log(value); }); // => Logs `2` then `1`.

_.size

_.size(collection) source npm package Gets the size of collection by returning its length for array-like values or the number of own enumerable string keyed properties for objects. Since 0.1.0 Arguments collection (Array|Object|string): The collection to inspect. Returns (number): Returns the collection size. Example _.size([1, 2, 3]); // => 3   _.size({ 'a': 1, 'b': 2 }); // => 2   _.size('pebbles'); // => 7