Initialize the Lodash chaining with VarType
Adds a variable accessible through the javascript context If it's a callback and one exists, will fail with assert failure
Gets the timestamp of the number of milliseconds that have elapsed since the Unix epoch (1 January 1970 00:00:00 UTC).
Creates an array of elements split into groups the length of size. If array can't be split evenly, the final chunk will be the remaining elements.
Creates a shallow clone of value.
This method is like _.clone except that it recursively clones value.
This method is like _.cloneWith except that it recursively clones value.
This method is like _.clone except that it accepts customizer which is invoked to produce the cloned value. If customizer returns undefined, cloning is handled by the method instead. The customizer is invoked with up to four arguments; (value [, index|key, object, stack]).
Creates an array with all falsey values removed. The values false, null, 0, "", undefined, and NaN are falsey.
Creates a new array concatenating array with any additional arrays and/or values.
Checks if object conforms to source by invoking the predicate properties of source with the corresponding property values of object.
Creates an object composed of keys generated from the results of running each element of collection thru iteratee. The corresponding value of each key is the number of times the key was returned by iteratee. The iteratee is invoked with one argument: (value).
Creates an array of array values not included in the other given arrays using SameValueZero for equality comparisons. The order and references of result values are determined by the first array.
This method is like _.difference except that it accepts iteratee which is invoked for each element of array and values to generate the criterion by which they're compared. The order and references of result values are determined by the first array. The iteratee is invoked with one argument: (value).
This method is like _.difference except that it accepts comparator which is invoked to compare elements of array to values. The order and references of result values are determined by the first array. The comparator is invoked with two arguments: (arrVal, othVal).
Creates a slice of array with n elements dropped from the beginning.
Creates a slice of array excluding elements dropped from the end. Elements are dropped until predicate returns falsey. The predicate is invoked with three arguments: (value, index, array).
Creates a slice of array excluding elements dropped from the beginning. Elements are dropped until predicate returns falsey. The predicate is invoked with three arguments: (value, index, array).
Performs a SameValueZero comparison between two values to determine if they are equivalent.
Checks if predicate returns truthy for all elements of collection. Iteration is stopped once predicate returns falsey. The predicate is invoked with three arguments: (value, index|key, collection).
Executes the compute commands accumulated so far
Fills elements of array with value from start up to, but not including, end.
Iterates over elements of collection, returning an array of all elements predicate returns truthy for. The predicate is invoked with three arguments: (value, index|key, collection).
Iterates over elements of collection, returning the first element predicate returns truthy for. The predicate is invoked with three arguments: (value, index|key, collection).
This method is like _.find except that it returns the index of the first element predicate returns truthy for instead of the element itself.
This method is like _.find except that it iterates over elements of collection from right to left.
This method is like _.findIndex except that it iterates over elements of collection from right to left.
Creates a flattened array of values by running each element in collection thru iteratee and flattening the mapped results. The iteratee is invoked with three arguments: (value, index|key, collection).
This method is like _.flatMap except that it recursively flattens the mapped results.
This method is like _.flatMap except that it recursively flattens the mapped results up to depth times.
Flattens array a single level deep.
Recursively flattens array.
Recursively flatten array up to depth levels.
Iterates over elements of collection and invokes iteratee for each element. The iteratee is invoked with three arguments: (value, index|key, collection). Iteratee functions may exit iteration early by explicitly returning false.
This method is like _.forEach except that it iterates over elements of collection from right to left.
The inverse of _.toPairs; this method returns an object composed from key-value pairs.
Creates an object composed of keys generated from the results of running each element of collection thru iteratee. The order of grouped values is determined by the order they occur in collection. The corresponding value of each key is an array of elements responsible for generating the key. The iteratee is invoked with one argument: (value).
Checks if value is greater than other.
Checks if value is greater than or equal to other.
Gets the first element of array.
Checks if value is in collection. If collection is a string, it's checked for a substring of value, otherwise SameValueZero is used for equality comparisons. If fromIndex is negative, it's used as the offset from the end of collection.
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.
Gets all but the last element of array.
Creates an array of unique values that are included in all given arrays using SameValueZero for equality comparisons. The order and references of result values are determined by the first array.
This method is like _.intersection except that it accepts iteratee which is invoked for each element of each arrays to generate the criterion by which they're compared. The order and references of result values are determined by the first array. The iteratee is invoked with one argument: (value).
This method is like _.intersection except that it accepts comparator which is invoked to compare elements of arrays. The order and references of result values are determined by the first array. The comparator is invoked with two arguments: (arrVal, othVal).
Invokes the method at path of each element in collection, returning an array of the results of each invoked method. Any additional arguments are provided to each invoked method. If path is a function, it's invoked for, and this bound to, each element in collection.
Checks if value is likely an arguments object.
Checks if value is classified as an Array object.
Checks if value is classified as an ArrayBuffer object.
Checks if value is array-like. A value is considered array-like if it's not a function and has a value.length that's an integer greater than or equal to 0 and less than or equal to Number.MAX_SAFE_INTEGER.
This method is like _.isArrayLike except that it also checks if value is an object.
Checks if value is classified as a boolean primitive or object.
Checks if value is a buffer.
Checks if value is classified as a Date object.
Checks if value is likely a DOM element.
Checks if value is an empty object, collection, map, or set.
Performs a deep comparison between two values to determine if they are equivalent.
This method is like _.isEqual except that it accepts customizer which is invoked to compare values. If customizer returns undefined, comparisons are handled by the method instead. The customizer is invoked with up to six arguments: (objValue, othValue [, index|key, object, other, stack]).
Checks if value is an Error, EvalError, RangeError, ReferenceError, SyntaxError, TypeError, or URIError object.
Checks if value is a finite primitive number.
Checks if value is classified as a Function object.
Checks if value is an integer.
Checks if value is a valid array-like length.
Checks if value is classified as a Map object.
Performs a partial deep comparison between object and source to determine if object contains equivalent property values.
This method is like _.isMatch except that it accepts customizer which is invoked to compare values. If customizer returns undefined, comparisons are handled by the method instead. The customizer is invoked with five arguments: (objValue, srcValue, index|key, object, source).
Checks if value is NaN.
Checks if value is a pristine native function.
Checks if value is null or undefined.
Checks if value is null or undefined.
Checks if value is classified as a Number primitive or object.
Checks if value is the language type of Object. (e.g. arrays, functions, objects, regexes, new Number(0), and new String(''))
Checks if value is object-like. A value is object-like if it's not null and has a typeof result of "object".
Checks if value is a plain object, that is, an object created by the Object constructor or one with a [Prototype] of null.
Checks if value is classified as a RegExp object.
Checks if value is a safe integer. An integer is safe if it's an IEEE-754 double precision number which isn't the result of a rounded unsafe integer.
Checks if value is classified as a Set object.
Checks if value is classified as a String primitive or object.
Checks if value is classified as a Symbol primitive or object.
Checks if value is classified as a typed array.
Checks if value is undefined.
Checks if value is classified as a WeakMap object.
Checks if value is classified as a WeakSet object.
Converts all elements in array into a string separated by separator.
Creates an object composed of keys generated from the results of running each element of collection thru iteratee. The corresponding value of each key is the last element responsible for generating the key. The iteratee is invoked with one argument: (value).
Gets the last element of array.
This method is like _.indexOf except that it iterates over elements of array from right to left.
Checks if value is less than other.
Checks if value is less than or equal to other.
Creates an array of values by running each element in collection thru iteratee. The iteratee is invoked with three arguments: (value, index|key, collection).
The opposite of _.mapValues; this method creates an object with the same values as object and keys generated by running each own enumerable string keyed property of object thru iteratee. The iteratee is invoked with three arguments: (value, key, object).
Creates an object with the same keys as object and values generated by running each own enumerable string keyed property of object thru iteratee. The iteratee is invoked with three arguments: (value, key, object).
This method is like _.assign except that it recursively merges own and inherited enumerable string keyed properties of source objects into the destination object. Source properties that resolve to undefined are skipped if a destination value exists. Array and plain object properties are merged recursively. Other objects and value types are overridden by assignment. Source objects are applied from left to right. Subsequent sources overwrite property assignments of previous sources.
This method is like _.merge except that it accepts customizer which is invoked to produce the merged values of the destination and source properties. If customizer returns undefined, merging is handled by the method instead. The customizer is invoked with six arguments: (objValue, srcValue, key, object, source, stack).
Gets the timestamp of the number of milliseconds that have elapsed since the Unix epoch (1 January 1970 00:00:00 UTC).
Gets the element at index n of array. If n is negative, the nth element from the end is returned.
The opposite of _.pick; this method creates an object composed of the own and inherited enumerable property paths of object that are not omitted.
The opposite of _.pickBy; this method creates an object composed of the own and inherited enumerable string keyed properties of object that predicate doesn't return truthy for. The predicate is invoked with two arguments: (value, key).
Callback will be executed if javascript throws during execution
This method is like _.sortBy except that it allows specifying the sort orders of the iteratees to sort by. If orders is unspecified, all values are sorted in ascending order. Otherwise, specify an order of "desc" for descending or "asc" for ascending sort order of corresponding values.
Creates an array of elements split into two groups, the first of which contains elements predicate returns truthy for, the second of which contains elements predicate returns falsey for. The predicate is invoked with one argument: (value).
Creates an object composed of the object properties predicate returns truthy for. The predicate is invoked with two arguments: (value, key).
Removes all given values from array using SameValueZero for equality comparisons.
This method is like _.pull except that it accepts an array of values to remove.
This method is like _.pullAll except that it accepts iteratee which is invoked for each element of array and values to generate the criterion by which they're compared. The iteratee is invoked with one argument: (value).
This method is like _.pullAll except that it accepts iteratee which is invoked for each element of array and values to generate the criterion by which they're compared. The iteratee is invoked with one argument: (value).
Removes elements from array corresponding to indexes and returns an array of removed elements.
Reduces collection to a value which is the accumulated result of running each element in collection thru iteratee, where each successive invocation is supplied the return value of the previous. If accumulator is not given, the first element of collection is used as the initial value. The iteratee is invoked with four arguments: (accumulator, value, index|key, collection).
This method is like _.reduce except that it iterates over elements of collection from right to left.
The opposite of _.filter; this method returns the elements of collection that predicate does not return truthy for.
Removes all elements from array that predicate returns truthy for and returns an array of the removed elements. The predicate is invoked with three arguments: (value, index, array).
Reverses array so that the first element becomes the last, the second element becomes the second to last, and so on.
Gets a random element from collection.
Gets n random elements at unique keys from collection up to the size of collection.
Creates an array of shuffled values, using a version of the Fisher-Yates shuffle.
Gets the size of collection by returning its length for array-like values or the number of own enumerable string keyed properties for objects.
Fills elements of array with value from start up to, but not including, end.
Checks if predicate returns truthy for any element of collection. Iteration is stopped once predicate returns truthy. The predicate is invoked with three arguments: (value, index|key, collection).
Creates an array of elements, sorted in ascending order by the results of running each element in a collection thru each iteratee. This method performs a stable sort, that is, it preserves the original sort order of equal elements. The iteratees are invoked with one argument: (value).
Uses a binary search to determine the lowest index at which value should be inserted into array in order to maintain its sort order.
This method is like _.sortedIndex except that it accepts iteratee which is invoked for value and each element of array to compute their sort ranking. The iteratee is invoked with one argument: (value).
This method is like _.indexOf except that it performs a binary search on a sorted array.
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.
This method is like _.sortedLastIndex except that it accepts iteratee which is invoked for value and each element of array to compute their sort ranking. The iteratee is invoked with one argument: (value).
This method is like _.lastIndexOf except that it performs a binary search on a sorted array.
This method is like _.uniq except that it's designed and optimized for sorted arrays.
This method is like _.uniqBy except that it's designed and optimized for sorted arrays.
Gets all but the first element of array.
Creates a slice of array with n elements taken from the beginning.
Creates a slice of array with n elements taken from the end.
Creates a slice of array with elements taken from the end. Elements are taken until predicate returns falsey. The predicate is invoked with three arguments: (value, index, array).
Creates a slice of array with elements taken from the beginning. Elements are taken until predicate returns falsey. The predicate is invoked with three arguments: (value, index, array).
Converts value to an array. _.toArray({ 'a': 1, 'b': 2 }); // => [1, 2]
Converts value to a finite number.
Converts value to an integer.
Converts value to an integer suitable for use as the length of an array-like object.
Converts value to a number.
Converts value to a plain object flattening inherited enumerable string keyed properties of value to own properties of the plain object.
Converts value to a safe integer. A safe integer can be compared and represented correctly.
An alternative to _.reduce; this method transforms object to a new accumulator object which is the result of running each of its own enumerable string keyed properties thru iteratee, with each invocation potentially mutating the accumulator object. If accumulator is not provided, a new object with the same [Prototype] will be used. The iteratee is invoked with four arguments: (accumulator, value, key, object). Iteratee functions may exit iteration early by explicitly returning false.
This method is like _.union except that it accepts iteratee which is invoked for each element of each arrays to generate the criterion by which uniqueness is computed. Result values are chosen from the first array in which the value occurs. The iteratee is invoked with one argument: (value).
This method is like _.union except that it accepts comparator which is invoked to compare elements of arrays. Result values are chosen from the first array in which the value occurs. The comparator is invoked with two arguments: (arrVal, othVal).
Creates an array of unique values, in order, from all given arrays using SameValueZero for equality comparisons.
Creates a duplicate-free version of an array, using SameValueZero for equality comparisons, in which only the first occurrence of each element is kept. The order of result values is determined by the order they occur in the array.
This method is like _.uniq except that it accepts iteratee which is invoked for each element in array to generate the criterion by which uniqueness is computed. The order of result values is determined by the order they occur in the array. The iteratee is invoked with one argument: (value).
This method is like _.uniq except that it accepts comparator which is invoked to compare elements of array. The order of result values is determined by the order they occur in the array.The comparator is invoked with two arguments: (arrVal, othVal).
This method is like _.zip except that it accepts an array of grouped elements and creates an array regrouping the elements to their pre-zip configuration.
This method is like _.unzip except that it accepts iteratee to specify how regrouped values should be combined. The iteratee is invoked with the elements of each group: (...group).
This method is like _.unzip except that it accepts iteratee to specify how regrouped values should be combined. The iteratee is invoked with the elements of each group: (...group).
Creates an array of unique values that is the symmetric difference of the given arrays. The order of result values is determined by the order they occur in the arrays.
This method is like _.xor except that it accepts iteratee which is invoked for each element of each arrays to generate the criterion by which by which they're compared. The order of result values is determined by the order they occur in the arrays. The iteratee is invoked with one argument: (value).
This method is like _.xor except that it accepts comparator which is invoked to compare elements of arrays. The order of result values is determined by the order they occur in the arrays. The comparator is invoked with two arguments: (arrVal, othVal).
Creates an array of grouped elements, the first of which contains the first elements of the given arrays, the second of which contains the second elements of the given arrays, and so on.
This method is like _.fromPairs except that it accepts two arrays, one of property identifiers and one of corresponding values.
This method is like _.zipObject except that it supports property paths.
This method is like _.zip except that it accepts iteratee to specify how grouped values should be combined. The iteratee is invoked with the elements of each group: (...group).
Creates a _. javascript compute object. Any function that returns a primary type rather than Lodash will execute the chaining sequence.