References
summary | ||
public |
F assign(sources: *): * Create a new object/array with the own properties of the first entry merged with the own properties of the others objects. |
|
public |
F clone(x: *): * Creates a deep copy of the value which may contain (nested) |
|
public |
F defaultTo(dflt: a, x: b): * Autocurry for 2 arguments |
|
public |
Returns true if |
|
public |
Negates its argument. |
|
public |
A function that returns the |
|
public |
Gives a single-word string description of the (native) type of a value, returning such answers as 'Object', 'Number', 'Array', or 'Null'. |
|
public |
Generates a unique ID. |
array
summary | ||
public |
Autocurry for 3 arguments |
|
public |
Autocurry for 2 arguments |
|
public |
Autocurry for 2 arguments |
|
public |
Autocurry for 2 arguments |
|
public |
Autocurry for 2 arguments |
|
public |
F difference(a: Array, b: Array): Array Autocurry for 2 arguments |
|
public |
Autocurry for 2 arguments |
|
public |
Autocurry for 2 arguments |
|
public |
Autocurry for 2 arguments |
|
public |
Autocurry for 2 arguments |
|
public |
Autocurry for 2 arguments |
|
public |
Autocurry for 3 arguments |
|
public |
Autocurry for 2 arguments |
|
public |
Autocurry for 2 arguments |
|
public |
Autocurry for 2 arguments |
|
public |
Returns a new list by pulling every item out of it (and all its sub-arrays) and putting them in a new array, depth-first. |
|
public |
Autocurry for 2 arguments |
|
public |
Returns the first element of the given array. |
|
public |
Autocurry for 2 arguments |
|
public |
Autocurry for 2 arguments |
|
public |
Autocurry for 2 arguments |
|
public |
Returns all but the last element of the given list or string. |
|
public |
F intersection(a: Array, b: Array): Array Autocurry for 2 arguments |
|
public |
Autocurry for 2 arguments |
|
public |
Returns the last element of the given array. |
|
public |
Returns the number of elements in the array by returning |
|
public |
Autocurry for 2 arguments |
|
public |
Autocurry for 2 arguments |
|
public |
Autocurry for 2 arguments |
|
public |
Autocurry for 2 arguments |
|
public |
Autocurry for 2 arguments |
|
public |
Creates an array of numbers (positive and/or negative) progressing from
|
|
public |
Autocurry for 3 arguments |
|
public |
F reduceWhile(pred: Function, fn: Function, acc: *, arr: Array): * Autocurry for 4 arguments |
|
public |
Autocurry for 2 arguments |
|
public |
Autocurry for 3 arguments |
|
public |
Autocurry for 2 arguments |
|
public |
Returns a new list or string with the elements or characters in reverse order. |
|
public |
Creates an array of shuffled values |
|
public |
Autocurry for 3 arguments |
|
public |
Autocurry for 2 arguments |
|
public |
Autocurry for 2 arguments |
|
public |
Autocurry for 2 arguments |
|
public |
F stableSortBy(fn: Function, arr: Array): Array Autocurry for 2 arguments |
|
public |
Adds together all the elements of a list. |
|
public |
Returns all but the first element of the given array. |
|
public |
Autocurry for 2 arguments |
|
public |
Autocurry for 2 arguments |
|
public |
Converts val to array. |
|
public |
Returns unique items in array |
|
public |
Autocurry for 2 arguments |
|
public |
Autocurry for 3 arguments |
|
public |
this function was deprecated. use array/difference instead
Autocurry for 2 arguments |
|
public |
Autocurry for 2 arguments |
|
public |
Autocurry for 3 arguments |
function
summary | ||
public |
A function that always returns |
|
public |
A function that always returns |
|
public |
Autocurry for 2 arguments |
|
public |
Returns a function that always returns the given value. |
|
public |
Autocurry for 2 arguments |
|
public |
F applyOrReturn(args: Array, test: *): * Autocurry for 2 arguments |
|
public |
Autocurry for 2 arguments |
|
public |
F comparator(pred: Function): Function Makes a comparator function out of a function that reports whether the first element is less than the second. |
|
public |
F complement(fn: Function): Function Takes a function |
|
public |
Performs right-to-left function composition. |
|
public |
Performs right-to-left composition of Promise-returning functions. |
|
public |
Returns a function, |
|
public |
Returns a curried equivalent of the provided function. |
|
public |
Returns a curried equivalent of the provided function, with the specified arity. |
|
public |
Autocurry for 2 arguments |
|
public |
Autocurry for 2 arguments |
|
public |
Returns a new function much like the supplied one, except that the first two arguments' order is reversed. |
|
public |
F identity(x: *): * A function that does nothing but return the parameter supplied to it. |
|
public |
Autocurry for 3 arguments |
|
public |
F noop() This method doing nothing and returns |
|
public |
F nothing(): Undefined A function that always returns |
|
public |
Accepts a function |
|
public |
Autocurry for 2 arguments |
|
public |
Autocurry for 2 arguments |
|
public |
Autocurry for 2 arguments |
|
public |
F throttleEnd(wait: number, fn: Function): * Autocurry for 2 arguments |
|
public |
Autocurry for 2 arguments |
|
public |
F updatePropertyValue(propertyName: String, propertyValue: Any, obj: Object): Object this function was deprecated. use propSet instead
Autocurry for 2 arguments |
|
public |
Autocurry for 3 arguments |
function/memoize
summary | ||
public |
F createCache(obj: Function): * Creates a cache instance base on passed object. |
|
public |
F deepSizeLimit(): Function Autocurry for 2 arguments |
|
public |
Memoize function with multiply arguments of any type. |
|
public |
Autocurry for 3 arguments |
is
summary | ||
public |
Checks if |
|
public |
Checks if |
|
public |
Checks if |
|
public |
Checks if |
|
public |
Checks if |
|
public |
Autocurry for 2 arguments |
|
public |
Checks if |
|
public |
Checks if |
|
public |
Checks if |
|
public |
Checks if |
|
public |
Checks if |
|
public |
F isPlainObject(test: *): boolean Returns whether a value is a plain object (an object that is created using an object literal, Object.create(null) or similar). |
|
public |
Checks if |
|
public |
F shallowEqual(test1: *, test2: *): Boolean Returns |
|
public |
F strictEqual(test1: *, test2: *): Boolean Returns |
|
public |
Checks if |
|
public |
Checks if |
object
summary | ||
public |
Autocurry for 2 arguments |
|
public |
Autocurry for 2 arguments |
|
public |
this function was deprecated. use object/propSet instead
Autocurry for 3 arguments |
|
public |
Autocurry for 2 arguments |
|
public |
Autocurry for 3 arguments |
|
public |
Autocurry for 2 arguments |
|
public |
Autocurry for 2 arguments |
|
public |
Creates a new object from a list key-value pairs. |
|
public |
Autocurry for 2 arguments |
|
public |
Autocurry for 2 arguments |
|
public |
Autocurry for 2 arguments |
|
public |
Returns a list containing the names of all the enumerable own properties of the supplied object. |
|
public |
Autocurry for 2 arguments |
|
public |
Autocurry for 2 arguments |
|
public |
Autocurry for 2 arguments |
|
public |
Autocurry for 3 arguments |
|
public |
Autocurry for 2 arguments |
|
public |
Autocurry for 2 arguments |
|
private |
F _path(paths: *[], obj: {}): * Autocurry for 2 arguments |
|
public |
Autocurry for 3 arguments |
|
public |
Autocurry for 3 arguments |
|
public |
Autocurry for 3 arguments |
|
public |
Autocurry for 3 arguments |
|
public |
Autocurry for 3 arguments |
|
public |
Autocurry for 2 arguments |
|
public |
Autocurry for 2 arguments |
|
public |
Autocurry for 2 arguments |
|
public |
Autocurry for 3 arguments |
|
public |
Autocurry for 3 arguments |
|
public |
Autocurry for 3 arguments |
|
public |
Autocurry for 3 arguments |
|
public |
Autocurry for 3 arguments |
|
public |
Autocurry for 3 arguments |
|
public |
Gets the size of |
|
public |
Converts an object into an array of key, value arrays. |
|
public |
Returns a list of all the enumerable own properties of the supplied object. |
|
public |
Autocurry for 2 arguments |
promise
summary | ||
public |
F rejectWith(func: Function, payload: *[]): Promise Autocurry for 2 arguments |
|
public |
F resolveWith(func: Function, payload: *[]): Promise Autocurry for 2 arguments |
|
public |
Autocurry for 2 arguments |
string
summary | ||
public |
F camelCaseName(str: String): String Converts string to camel case. |
|
public |
F capitalize(str: String): String Returns the capitalized version of a string. |
|
public |
Autocurry for 2 arguments |
|
public |
Converts the characters "&", "<", ">", '"', and "'" in |
|
public |
F escapeRegExp(str: string): string Escapes the |
|
public |
F kebabCaseName(str: String): String Converts string to kebab case. |
|
public |
Autocurry for 2 arguments |
|
public |
Autocurry for 3 arguments |
|
public |
F snakeCaseName(str: String): String Returns the snake case version of a string. |
|
public |
Autocurry for 2 arguments |
|
public |
F startsWith(prefix: string, str: string): Boolean Autocurry for 2 arguments |
|
public |
Autocurry for 2 arguments |
|
public |
Autocurry for 2 arguments |
|
public |
Returns the lower case version of a string. |
|
public |
Converts |
|
public |
Returns the upper case version of a string. |
|
public |
Removes leading and trailing whitespace from |
|
public |
Removes leading whitespace from |
|
public |
The inverse of |
|
public |
F upperFirst(str: String): String Converts the first character of string to upper case and returns the new string. |
|
public |
Splits string into an array of its words. |