Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/lodash/lodash
/ functions
Functions
2,270 in github.com/lodash/lodash
⨍
Functions
2,270
◇
Types & classes
0
Function
parseInt
* Converts `string` to an integer of the specified radix. If `radix` is * `undefined` or `0`, a `radix` of `10` is used unless `value` is a
npm-package/lodash.js:14503
Function
pf
(n,t)
npm-package/lodash.min.js:83
Function
pickBy
* Creates an object composed of the `object` properties `predicate` returns * truthy for. The predicate is invoked with two arguments: (value, key).
npm-package/pickBy.js:24
Function
pitch
* This method throws any error it receives. * * @memberOf util * @param {Object} [error] The error object.
lib/common/util.js:31
Function
po
(n)
npm-package/lodash.min.js:76
Function
positive
(string)
test/test.js:23563
Function
pr
(n)
npm-package/lodash.min.js:27
Function
predicate
(value)
test/test-fp.js:555
Function
property
* Creates a function that returns the value at `path` of a given object. * * @static * @memberOf _ * @since 2.4.0 * @category Util * @param {Arr
npm-package/property.js:28
Function
propertyOf
* The opposite of `_.property`; this method creates a function that returns * the value at a given path of `object`. * * @static *
lodash.js:15959
Function
propertyOf
* The opposite of `_.property`; this method creates a function that returns * the value at a given path of `object`. * * @static * @memberOf _ *
npm-package/propertyOf.js:24
Function
propertyOf
* The opposite of `_.property`; this method creates a function that returns * the value at a given path of `object`. * * @static *
npm-package/lodash.js:15959
Function
pullAll
* This method is like `_.pull` except that it accepts an array of values to remove. * * **Note:** Unlike `_.difference`, this method mutates
lodash.js:7742
Function
pullAll
* This method is like `_.pull` except that it accepts an array of values to remove. * * **Note:** Unlike `_.difference`, this method mutates `array`
npm-package/pullAll.js:23
Function
pullAll
* This method is like `_.pull` except that it accepts an array of values to remove. * * **Note:** Unlike `_.difference`, this method mutates
npm-package/lodash.js:7742
Function
pullAllBy
* This method is like `_.pullAll` except that it accepts `iteratee` which is * invoked for each element of `array` and `values` to generate the c
lodash.js:7771
Function
pullAllBy
* This method is like `_.pullAll` except that it accepts `iteratee` which is * invoked for each element of `array` and `values` to generate the crite
npm-package/pullAllBy.js:27
Function
pullAllBy
* This method is like `_.pullAll` except that it accepts `iteratee` which is * invoked for each element of `array` and `values` to generate the c
npm-package/lodash.js:7771
Function
pullAllWith
* This method is like `_.pullAll` except that it accepts `comparator` which * is invoked to compare elements of `array` to `values`. The comparat
lodash.js:7800
Function
pullAllWith
* This method is like `_.pullAll` except that it accepts `comparator` which * is invoked to compare elements of `array` to `values`. The comparator i
npm-package/pullAllWith.js:26
Function
pullAllWith
* This method is like `_.pullAll` except that it accepts `comparator` which * is invoked to compare elements of `array` to `values`. The comparat
npm-package/lodash.js:7800
Function
q
(n)
npm-package/core.min.js:15
Function
qa
()
npm-package/lodash.min.js:109
Function
qc
(n,t)
npm-package/lodash.min.js:97
Function
qf
(n,t)
npm-package/lodash.min.js:90
Function
qo
(n,t)
npm-package/lodash.min.js:80
Function
ra
(n,t,r)
npm-package/lodash.min.js:99
Function
random
* Produces a random number between the inclusive `lower` and `upper` bounds. * If only one argument is provided a number between `0` and the give
lodash.js:14104
Function
random
* Produces a random number between the inclusive `lower` and `upper` bounds. * If only one argument is provided a number between `0` and the given nu
npm-package/random.js:43
Function
random
* Produces a random number between the inclusive `lower` and `upper` bounds. * If only one argument is provided a number between `0` and the give
npm-package/lodash.js:14104
Function
reduce
* Reduces `collection` to a value which is the accumulated result of running * each element in `collection` thru `iteratee`, where each successiv
npm-package/lodash.js:9703
Function
reduce
* Reduces `collection` to a value which is the accumulated result of running * each element in `collection` thru `iteratee`, where each successive *
npm-package/reduce.js:44
Function
reduceRight
* This method is like `_.reduce` except that it iterates over elements of * `collection` from right to left. * * @static * @member
lodash.js:9732
Function
reduceRight
* This method is like `_.reduce` except that it iterates over elements of * `collection` from right to left. * * @static * @member
npm-package/lodash.js:9732
Function
reduceRight
* This method is like `_.reduce` except that it iterates over elements of * `collection` from right to left. * * @static * @memberOf _ * @since 0
npm-package/reduceRight.js:29
Function
reject
* The opposite of `_.filter`; this method returns the elements of `collection` * that `predicate` does **not** return truthy for. * * @
lodash.js:9773
Function
reject
* The opposite of `_.filter`; this method returns the elements of `collection` * that `predicate` does **not** return truthy for. * * @
npm-package/lodash.js:9773
Function
reject
* The opposite of `_.filter`; this method returns the elements of `collection` * that `predicate` does **not** return truthy for. * * @static * @m
npm-package/reject.js:41
Function
remove
* Removes all elements from `array` that `predicate` returns truthy for * and returns an array of the removed elements. The predicate is invoked * w
npm-package/remove.js:32
Function
remove
* Removes all elements from `array` that `predicate` returns truthy for * and returns an array of the removed elements. The predicate is invoked
npm-package/lodash.js:7869
Function
reorder
* Reorder `array` according to the specified indexes where the element at * the first index is assigned as the first element, the element at * the s
npm-package/_reorder.js:17
Function
repeat
* Repeats the given string `n` times. * * @static * @memberOf _ * @since 3.0.0 * @category String * @param {string} [str
lodash.js:14534
Function
repeat
* Repeats the given string `n` times. * * @static * @memberOf _ * @since 3.0.0 * @category String * @param {string} [str
npm-package/lodash.js:14534
Function
repeat
* Repeats the given string `n` times. * * @static * @memberOf _ * @since 3.0.0 * @category String * @param {string} [string=''] The string to re
npm-package/repeat.js:28
Function
replace
* Replaces matches for `pattern` in `string` with `replacement`. * * **Note:** This method is based on * [`String#replace`](https://mdn
lodash.js:14562
Function
replace
* Replaces matches for `pattern` in `string` with `replacement`. * * **Note:** This method is based on * [`String#replace`](https://mdn.io/String/r
npm-package/replace.js:22
Function
replace
* Replaces matches for `pattern` in `string` with `replacement`. * * **Note:** This method is based on * [`String#replace`](https://mdn
npm-package/lodash.js:14562
Function
replaceHolders
* Replaces all `placeholder` elements in `array` with an internal placeholder * and returns an array of their indexes. * * @private * @param {Arra
npm-package/_replaceHolders.js:13
Function
rest
* Creates a function that invokes `func` with the `this` binding of the * created function and arguments from `start` and beyond provided as * an ar
npm-package/rest.js:32
Function
rest
* Creates a function that invokes `func` with the `this` binding of the * created function and arguments from `start` and beyond provided as
npm-package/lodash.js:10821
Function
result
* This method is like `_.get` except that if the resolved value is a * function it's invoked with the `this` binding of its parent object and *
npm-package/core.js:3353
Function
result
* This method is like `_.get` except that if the resolved value is a * function it's invoked with the `this` binding of its parent object and * its
npm-package/result.js:34
Function
reverse
* Reverses `array` so that the first element becomes the last, the second * element becomes the second to last, and so on. * * **Note:*
lodash.js:7913
Function
reverse
* Reverses `array` so that the first element becomes the last, the second * element becomes the second to last, and so on. * * **Note:** This metho
npm-package/reverse.js:30
Function
reverse
* Reverses `array` so that the first element becomes the last, the second * element becomes the second to last, and so on. * * **Note:*
npm-package/lodash.js:7913
Function
rf
()
npm-package/lodash.min.js:82
Function
rl
(n,t)
npm-package/lodash.min.js:110
Function
ro
(n,t,r)
npm-package/lodash.min.js:74
Function
rr
(n,t)
npm-package/lodash.min.js:25
Function
run
(a, b)
test/test.js:4141
Function
s
(n,t,r,e)
npm-package/lodash.min.js:11
Function
sa
(n,t,r)
npm-package/lodash.min.js:101
Function
safeGet
* Gets the value at `key`, unless `key` is "__proto__" or "constructor". * * @private * @param {Object} object The object to query. * @param {stri
npm-package/_safeGet.js:9
Function
sample
* Gets a random element from `collection`. * * @static * @memberOf _ * @since 2.0.0 * @category Collection * @param {Arr
lodash.js:9792
Function
sample
* Gets a random element from `collection`. * * @static * @memberOf _ * @since 2.0.0 * @category Collection * @param {Array|Object} collection Th
npm-package/sample.js:19
Function
sample
* Gets a random element from `collection`. * * @static * @memberOf _ * @since 2.0.0 * @category Collection * @param {Arr
npm-package/lodash.js:9792
Function
sampleSize
* Gets `n` random elements at unique keys from `collection` up to the * size of `collection`. * * @static * @memberOf _ * @si
lodash.js:9817
Function
sampleSize
* Gets `n` random elements at unique keys from `collection` up to the * size of `collection`. * * @static * @memberOf _ * @since 4.0.0 * @catego
npm-package/sampleSize.js:27
Function
sampleSize
* Gets `n` random elements at unique keys from `collection` up to the * size of `collection`. * * @static * @memberOf _ * @si
npm-package/lodash.js:9817
Function
sc
(n)
npm-package/lodash.min.js:93
Function
set
* Sets the value at `path` of `object`. If a portion of `path` doesn't exist, * it's created. Arrays are created for missing index properties whi
lodash.js:13699
Function
set
* Sets the value at `path` of `object`. If a portion of `path` doesn't exist, * it's created. Arrays are created for missing index properties whi
npm-package/lodash.js:13699
Function
set
* Sets the value at `path` of `object`. If a portion of `path` doesn't exist, * it's created. Arrays are created for missing index properties while o
npm-package/set.js:31
Function
setCacheAdd
* Adds `value` to the array cache. * * @private * @name add * @memberOf SetCache * @alias push * @param {*} value The va
lodash.js:2249
Function
setCacheAdd
* Adds `value` to the array cache. * * @private * @name add * @memberOf SetCache * @alias push * @param {*} value The value to cache. * @return
npm-package/_setCacheAdd.js:14
Function
setCacheAdd
* Adds `value` to the array cache. * * @private * @name add * @memberOf SetCache * @alias push * @param {*} value The va
npm-package/lodash.js:2249
Function
setCacheHas
* Checks if `value` is in the array cache. * * @private * @name has * @memberOf SetCache * @param {*} value The value to sear
lodash.js:2263
Function
setCacheHas
* Checks if `value` is in the array cache. * * @private * @name has * @memberOf SetCache * @param {*} value The value to sear
npm-package/lodash.js:2263
Function
setCacheHas
* Checks if `value` is in the array cache. * * @private * @name has * @memberOf SetCache * @param {*} value The value to search for. * @returns
npm-package/_setCacheHas.js:10
Function
setToArray
* Converts `set` to an array of its values. * * @private * @param {Object} set The set to convert. * @returns {Array} Returns the values.
npm-package/_setToArray.js:8
Function
setToPairs
* Converts `set` to its value-value pairs. * * @private * @param {Object} set The set to convert. * @returns {Array} Returns the value-value pairs
npm-package/_setToPairs.js:8
Function
setWith
* This method is like `_.set` except that it accepts `customizer` which is * invoked to produce the objects of `path`. If `customizer` returns `
lodash.js:13727
Function
setWith
* This method is like `_.set` except that it accepts `customizer` which is * invoked to produce the objects of `path`. If `customizer` returns `unde
npm-package/setWith.js:27
Function
setWith
* This method is like `_.set` except that it accepts `customizer` which is * invoked to produce the objects of `path`. If `customizer` returns `
npm-package/lodash.js:13727
Function
setWrapToString
* Sets the `toString` method of `wrapper` to mimic the source of `reference` * with wrapper details in a comment at the top of the source body. * *
npm-package/_setWrapToString.js:16
Function
sf
(n,t,r)
npm-package/lodash.min.js:83
Function
shortOut
* Creates a function that'll short out and invoke `identity` instead * of `func` when it's called `HOT_COUNT` or more times in `HOT_SPAN` * millisec
npm-package/_shortOut.js:17
Function
shuffle
* Creates an array of shuffled values, using a version of the * [Fisher-Yates shuffle](https://en.wikipedia.org/wiki/Fisher-Yates_shuffle).
lodash.js:9842
Function
shuffle
* Creates an array of shuffled values, using a version of the * [Fisher-Yates shuffle](https://en.wikipedia.org/wiki/Fisher-Yates_shuffle). * * @st
npm-package/shuffle.js:20
Function
shuffle
* Creates an array of shuffled values, using a version of the * [Fisher-Yates shuffle](https://en.wikipedia.org/wiki/Fisher-Yates_shuffle).
npm-package/lodash.js:9842
Function
shuffleSelf
* A specialized version of `_.shuffle` which mutates and sets the size of `array`. * * @private * @param {Array} array The array to shuffle. * @pa
npm-package/_shuffleSelf.js:11
Function
size
* Gets the size of `collection` by returning its length for array-like * values or the number of own enumerable string keyed properties for objec
lodash.js:9868
Function
size
* Gets the size of `collection` by returning its length for array-like * values or the number of own enumerable string keyed properties for objects.
npm-package/size.js:32
Function
size
* Gets the size of `collection` by returning its length for array-like * values or the number of own enumerable string keyed properties for objects
npm-package/core.js:2123
Function
size
* Gets the size of `collection` by returning its length for array-like * values or the number of own enumerable string keyed properties for objec
npm-package/lodash.js:9868
Function
slice
* Creates a slice of `array` from `start` up to, but not including, `end`. * * **Note:** This method is used instead of * [`Array#slice
lodash.js:7933
Function
slice
* Creates a slice of `array` from `start` up to, but not including, `end`. * * **Note:** This method is used instead of * [`Array#slice`](htt
npm-package/core.js:1706
Function
slice
* Creates a slice of `array` from `start` up to, but not including, `end`. * * **Note:** This method is used instead of * [`Array#slice
npm-package/lodash.js:7933
Function
slice
* Creates a slice of `array` from `start` up to, but not including, `end`. * * **Note:** This method is used instead of * [`Array#slice`](https://m
npm-package/slice.js:21
Function
so
(n,t,r)
npm-package/lodash.min.js:76
← previous
next →
1,901–2,000 of 2,270, ranked by callers