@adminide-stack/extension-api 12.0.4-alpha.92 → 13.0.1-alpha.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/connections/jsonrpc2/connection.js +0 -10
- package/lib/connections/jsonrpc2/connection.js.map +1 -1
- package/lib/connections/jsonrpc2/events.js.map +1 -1
- package/lib/connections/jsonrpc2/linkedMap.js.map +1 -1
- package/lib/connections/jsonrpc2/messages.js.map +1 -1
- package/lib/connections/jsonrpc2/test-helper.js.map +1 -1
- package/lib/connections/jsonrpc2/trace.js.map +1 -1
- package/lib/connections/jsonrpc2/transport.js.map +1 -1
- package/lib/connections/jsonrpc2/transports/webWorker.js.map +1 -1
- package/lib/connections/proxy/proxy.js.map +1 -1
- package/lib/connections/remote-rpc/browser-remote-rpc.d.ts +3 -1
- package/lib/connections/remote-rpc/browser-remote-rpc.js +26 -19
- package/lib/connections/remote-rpc/browser-remote-rpc.js.map +1 -1
- package/lib/connections/remote-rpc/rxjs-websockets.js.map +1 -1
- package/lib/constants/action-types.d.ts +4 -0
- package/lib/constants/action-types.js +5 -1
- package/lib/constants/action-types.js.map +1 -1
- package/lib/constants/types.js.map +1 -1
- package/lib/core/expr/evaluator.js.map +1 -1
- package/lib/core/expr/lexer.js.map +1 -1
- package/lib/core/expr/parser.js.map +1 -1
- package/lib/core/types/ext-host-types.js.map +1 -1
- package/lib/index.d.ts +1 -0
- package/lib/index.js +1 -1
- package/lib/interfaces/command.d.ts +5 -1
- package/lib/interfaces/contributions/contribution.js.map +1 -1
- package/lib/interfaces/ext-services/ai-services.d.ts +2 -11
- package/lib/interfaces/ext-services/code-javascript-service.d.ts +9 -0
- package/lib/interfaces/ext-services/index.d.ts +1 -0
- package/lib/interfaces/model.js.map +1 -1
- package/lib/interfaces/platform-context.d.ts +7 -0
- package/lib/interfaces/text-document.js.map +1 -1
- package/lib/interfaces/webview/webview.js.map +1 -1
- package/lib/middlewares/extensionController.js.map +1 -1
- package/lib/protocol/client.protocol.d.ts +85 -15
- package/lib/protocol/client.protocol.js.map +1 -1
- package/lib/protocol/common.protocol.js.map +1 -1
- package/lib/protocol/editor-missing-types.js.map +1 -1
- package/lib/protocol/proxy-identifier.js.map +1 -1
- package/lib/protocol/rpc-logger.js.map +1 -1
- package/lib/protocol/rpc-protocol.js +10 -4
- package/lib/protocol/rpc-protocol.js.map +1 -1
- package/lib/protocol/server.protocol.d.ts +4 -4
- package/lib/protocol/server.protocol.js.map +1 -1
- package/lib/protocol/shared/editor.js.map +1 -1
- package/lib/protocol/temporary-types.js.map +1 -1
- package/lib/protocol/utils/lazy-promise.js.map +1 -1
- package/lib/react/components/view-component/ViewComponent.js.map +1 -1
- package/lib/react/useExtensionController.js +1 -1
- package/lib/react/useExtensionController.js.map +1 -1
- package/lib/services/code/index.d.ts +1 -0
- package/lib/services/code/javascript/autocomplete-demo.d.ts +49 -0
- package/lib/services/code/javascript/code-javascript-service.d.ts +100 -0
- package/lib/services/code/javascript/code-javascript-service.js +193 -0
- package/lib/services/code/javascript/code-javascript-service.js.map +1 -0
- package/lib/services/code/javascript/handler/evaluate.d.ts +14 -0
- package/lib/services/code/javascript/index.d.ts +9 -0
- package/lib/services/code/javascript/jslibrary/autocomplete/definitions/base64-js.json.js +13 -0
- package/lib/services/code/javascript/jslibrary/autocomplete/definitions/base64-js.json.js.map +1 -0
- package/lib/services/code/javascript/jslibrary/autocomplete/definitions/browser.json.js +441 -0
- package/lib/services/code/javascript/jslibrary/autocomplete/definitions/browser.json.js.map +1 -0
- package/lib/services/code/javascript/jslibrary/autocomplete/definitions/ecmascript.json.js +1973 -0
- package/lib/services/code/javascript/jslibrary/autocomplete/definitions/ecmascript.json.js.map +1 -0
- package/lib/services/code/javascript/jslibrary/autocomplete/definitions/lodash.json.js +1546 -0
- package/lib/services/code/javascript/jslibrary/autocomplete/definitions/lodash.json.js.map +1 -0
- package/lib/services/code/javascript/jslibrary/autocomplete/index.d.ts +45 -0
- package/lib/services/code/javascript/jslibrary/autocomplete/index.js +56 -0
- package/lib/services/code/javascript/jslibrary/autocomplete/index.js.map +1 -0
- package/lib/services/code/javascript/jslibrary/autocomplete-manager.d.ts +94 -0
- package/lib/services/code/javascript/jslibrary/autocomplete-manager.js +249 -0
- package/lib/services/code/javascript/jslibrary/autocomplete-manager.js.map +1 -0
- package/lib/services/code/javascript/jslibrary/definitions.d.ts +465 -0
- package/lib/services/code/javascript/jslibrary/index.d.ts +4 -0
- package/lib/services/code/javascript/jslibrary/index.js +14 -0
- package/lib/services/code/javascript/jslibrary/index.js.map +1 -0
- package/lib/services/code/javascript/jslibrary/library-manager.d.ts +53 -0
- package/lib/services/code/javascript/jslibrary/library-manager.js +65 -0
- package/lib/services/code/javascript/jslibrary/library-manager.js.map +1 -0
- package/lib/services/code/javascript/jslibrary/reset.d.ts +2 -0
- package/lib/services/code/javascript/jslibrary/reset.js +33 -0
- package/lib/services/code/javascript/jslibrary/reset.js.map +1 -0
- package/lib/services/code/javascript/utils/dom.d.ts +4 -0
- package/lib/services/code/javascript/utils/dom.js +138 -0
- package/lib/services/code/javascript/utils/dom.js.map +1 -0
- package/lib/services/code/javascript/utils/library-utils.d.ts +12 -0
- package/lib/services/code/javascript/utils/library-utils.js +76 -0
- package/lib/services/code/javascript/utils/library-utils.js.map +1 -0
- package/lib/services/code/javascript/utils/messages.d.ts +21 -0
- package/lib/services/code/javascript/utils/messages.js +25 -0
- package/lib/services/code/javascript/utils/messages.js.map +1 -0
- package/lib/services/code/javascript/utils/tern-definitions.d.ts +4 -0
- package/lib/services/code/javascript/utils/tern-definitions.js +75 -0
- package/lib/services/code/javascript/utils/tern-definitions.js.map +1 -0
- package/lib/services/code/javascript/utils/types.d.ts +26 -0
- package/lib/services/code/javascript/utils/types.js +16 -0
- package/lib/services/code/javascript/utils/types.js.map +1 -0
- package/lib/utils/abortable-rx.js.map +1 -1
- package/lib/utils/errors.js.map +1 -1
- package/lib/utils/extensions.d.ts +11 -0
- package/lib/utils/extensions.js +38 -1
- package/lib/utils/extensions.js.map +1 -1
- package/lib/utils/helper.test.js.map +1 -1
- package/lib/utils/paths-util.js.map +1 -1
- package/lib/utils/rxjs/combineLatestOrDefault.js.map +1 -1
- package/lib/utils/util.js.map +1 -1
- package/package.json +6 -5
|
@@ -0,0 +1,1546 @@
|
|
|
1
|
+
var _ = {
|
|
2
|
+
chunk: {
|
|
3
|
+
"!url": "https://lodash.com/docs/4.17.15#chunk",
|
|
4
|
+
"!doc": "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.",
|
|
5
|
+
"!type": "fn(array, [size])"
|
|
6
|
+
},
|
|
7
|
+
compact: {
|
|
8
|
+
"!url": "https://lodash.com/docs/4.17.15#compact",
|
|
9
|
+
"!doc": "Creates an array with all falsey values removed. The values false, null, 0, \"\", undefined, and NaN are falsey.",
|
|
10
|
+
"!type": "fn(array)"
|
|
11
|
+
},
|
|
12
|
+
concat: {
|
|
13
|
+
"!url": "https://lodash.com/docs/4.17.15#concat",
|
|
14
|
+
"!doc": "Creates a new array concatenating array with any additional arrays and/or values.",
|
|
15
|
+
"!type": "fn(array, [values])"
|
|
16
|
+
},
|
|
17
|
+
difference: {
|
|
18
|
+
"!url": "https://lodash.com/docs/4.17.15#difference",
|
|
19
|
+
"!doc": "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.Note: Unlike _.pullAll, this method returns a new array.",
|
|
20
|
+
"!type": "fn(array, [values])"
|
|
21
|
+
},
|
|
22
|
+
differenceBy: {
|
|
23
|
+
"!url": "https://lodash.com/docs/4.17.15#differenceBy",
|
|
24
|
+
"!doc": "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).Note: Unlike _.pullAllBy, this method returns a new array.",
|
|
25
|
+
"!type": "fn(array, [values], [iteratee])"
|
|
26
|
+
},
|
|
27
|
+
differenceWith: {
|
|
28
|
+
"!url": "https://lodash.com/docs/4.17.15#differenceWith",
|
|
29
|
+
"!doc": "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).Note: Unlike _.pullAllWith, this method returns a new array.",
|
|
30
|
+
"!type": "fn(array, [values], [comparator])"
|
|
31
|
+
},
|
|
32
|
+
drop: {
|
|
33
|
+
"!url": "https://lodash.com/docs/4.17.15#drop",
|
|
34
|
+
"!doc": "Creates a slice of array with n elements dropped from the beginning.",
|
|
35
|
+
"!type": "fn(array, [n])"
|
|
36
|
+
},
|
|
37
|
+
dropRight: {
|
|
38
|
+
"!url": "https://lodash.com/docs/4.17.15#dropRight",
|
|
39
|
+
"!doc": "Creates a slice of array with n elements dropped from the end.",
|
|
40
|
+
"!type": "fn(array, [n])"
|
|
41
|
+
},
|
|
42
|
+
dropRightWhile: {
|
|
43
|
+
"!url": "https://lodash.com/docs/4.17.15#dropRightWhile",
|
|
44
|
+
"!doc": "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).",
|
|
45
|
+
"!type": "fn(array, [predicate])"
|
|
46
|
+
},
|
|
47
|
+
dropWhile: {
|
|
48
|
+
"!url": "https://lodash.com/docs/4.17.15#dropWhile",
|
|
49
|
+
"!doc": "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).",
|
|
50
|
+
"!type": "fn(array, [predicate])"
|
|
51
|
+
},
|
|
52
|
+
fill: {
|
|
53
|
+
"!url": "https://lodash.com/docs/4.17.15#fill",
|
|
54
|
+
"!doc": "Fills elements of array with value from start up to, but not including, end.Note: This method mutates array.",
|
|
55
|
+
"!type": "fn(array, value, [start], [end])"
|
|
56
|
+
},
|
|
57
|
+
findIndex: {
|
|
58
|
+
"!url": "https://lodash.com/docs/4.17.15#findIndex",
|
|
59
|
+
"!doc": "This method is like _.find except that it returns the index of the first element predicate returns truthy for instead of the element itself.",
|
|
60
|
+
"!type": "fn(array, [predicate], [fromIndex])"
|
|
61
|
+
},
|
|
62
|
+
findLastIndex: {
|
|
63
|
+
"!url": "https://lodash.com/docs/4.17.15#findLastIndex",
|
|
64
|
+
"!doc": "This method is like _.findIndex except that it iterates over elements of collection from right to left.",
|
|
65
|
+
"!type": "fn(array, [predicate], [fromIndex])"
|
|
66
|
+
},
|
|
67
|
+
flatten: {
|
|
68
|
+
"!url": "https://lodash.com/docs/4.17.15#flatten",
|
|
69
|
+
"!doc": "Flattens array a single level deep.",
|
|
70
|
+
"!type": "fn(array)"
|
|
71
|
+
},
|
|
72
|
+
flattenDeep: {
|
|
73
|
+
"!url": "https://lodash.com/docs/4.17.15#flattenDeep",
|
|
74
|
+
"!doc": "Recursively flattens array.",
|
|
75
|
+
"!type": "fn(array)"
|
|
76
|
+
},
|
|
77
|
+
flattenDepth: {
|
|
78
|
+
"!url": "https://lodash.com/docs/4.17.15#flattenDepth",
|
|
79
|
+
"!doc": "Recursively flatten array up to depth times.",
|
|
80
|
+
"!type": "fn(array, [depth])"
|
|
81
|
+
},
|
|
82
|
+
fromPairs: {
|
|
83
|
+
"!url": "https://lodash.com/docs/4.17.15#fromPairs",
|
|
84
|
+
"!doc": "The inverse of _.toPairs; this method returns an object composed from key-value pairs.",
|
|
85
|
+
"!type": "fn(pairs)"
|
|
86
|
+
},
|
|
87
|
+
head: {
|
|
88
|
+
"!url": "https://lodash.com/docs/4.17.15#head",
|
|
89
|
+
"!doc": "Gets the first element of array.",
|
|
90
|
+
"!type": "fn(array)"
|
|
91
|
+
},
|
|
92
|
+
indexOf: {
|
|
93
|
+
"!url": "https://lodash.com/docs/4.17.15#indexOf",
|
|
94
|
+
"!doc": "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.",
|
|
95
|
+
"!type": "fn(array, value, [fromIndex])"
|
|
96
|
+
},
|
|
97
|
+
initial: {
|
|
98
|
+
"!url": "https://lodash.com/docs/4.17.15#initial",
|
|
99
|
+
"!doc": "Gets all but the last element of array.",
|
|
100
|
+
"!type": "fn(array)"
|
|
101
|
+
},
|
|
102
|
+
intersection: {
|
|
103
|
+
"!url": "https://lodash.com/docs/4.17.15#intersection",
|
|
104
|
+
"!doc": "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.",
|
|
105
|
+
"!type": "fn([arrays])"
|
|
106
|
+
},
|
|
107
|
+
intersectionBy: {
|
|
108
|
+
"!url": "https://lodash.com/docs/4.17.15#intersectionBy",
|
|
109
|
+
"!doc": "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).",
|
|
110
|
+
"!type": "fn([arrays], [iteratee])"
|
|
111
|
+
},
|
|
112
|
+
intersectionWith: {
|
|
113
|
+
"!url": "https://lodash.com/docs/4.17.15#intersectionWith",
|
|
114
|
+
"!doc": "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).",
|
|
115
|
+
"!type": "fn([arrays], [comparator])"
|
|
116
|
+
},
|
|
117
|
+
join: {
|
|
118
|
+
"!url": "https://lodash.com/docs/4.17.15#join",
|
|
119
|
+
"!doc": "Converts all elements in array into a string separated by separator.",
|
|
120
|
+
"!type": "fn(array, [separator])"
|
|
121
|
+
},
|
|
122
|
+
last: {
|
|
123
|
+
"!url": "https://lodash.com/docs/4.17.15#last",
|
|
124
|
+
"!doc": "Gets the last element of array.",
|
|
125
|
+
"!type": "fn(array)"
|
|
126
|
+
},
|
|
127
|
+
lastIndexOf: {
|
|
128
|
+
"!url": "https://lodash.com/docs/4.17.15#lastIndexOf",
|
|
129
|
+
"!doc": "This method is like _.indexOf except that it iterates over elements of array from right to left.",
|
|
130
|
+
"!type": "fn(array, value, [fromIndex])"
|
|
131
|
+
},
|
|
132
|
+
nth: {
|
|
133
|
+
"!url": "https://lodash.com/docs/4.17.15#nth",
|
|
134
|
+
"!doc": "Gets the element at index n of array. If n is negative, the nth element from the end is returned.",
|
|
135
|
+
"!type": "fn(array, [n])"
|
|
136
|
+
},
|
|
137
|
+
pull: {
|
|
138
|
+
"!url": "https://lodash.com/docs/4.17.15#pull",
|
|
139
|
+
"!doc": "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.",
|
|
140
|
+
"!type": "fn(array, [values])"
|
|
141
|
+
},
|
|
142
|
+
pullAll: {
|
|
143
|
+
"!url": "https://lodash.com/docs/4.17.15#pullAll",
|
|
144
|
+
"!doc": "This method is like _.pull except that it accepts an array of values to remove.Note: Unlike _.difference, this method mutates array.",
|
|
145
|
+
"!type": "fn(array, values)"
|
|
146
|
+
},
|
|
147
|
+
pullAllBy: {
|
|
148
|
+
"!url": "https://lodash.com/docs/4.17.15#pullAllBy",
|
|
149
|
+
"!doc": "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).Note: Unlike _.differenceBy, this method mutates array.",
|
|
150
|
+
"!type": "fn(array, values, [iteratee])"
|
|
151
|
+
},
|
|
152
|
+
pullAllWith: {
|
|
153
|
+
"!url": "https://lodash.com/docs/4.17.15#pullAllWith",
|
|
154
|
+
"!doc": "This method is like _.pullAll except that it accepts comparator which is invoked to compare elements of array to values. The comparator is invoked with two arguments: (arrVal, othVal).Note: Unlike _.differenceWith, this method mutates array.",
|
|
155
|
+
"!type": "fn(array, values, [comparator])"
|
|
156
|
+
},
|
|
157
|
+
pullAt: {
|
|
158
|
+
"!url": "https://lodash.com/docs/4.17.15#pullAt",
|
|
159
|
+
"!doc": "Removes elements from array corresponding to indexes and returns an array of removed elements.Note: Unlike _.at, this method mutates array.",
|
|
160
|
+
"!type": "fn(array, [indexes])"
|
|
161
|
+
},
|
|
162
|
+
remove: {
|
|
163
|
+
"!url": "https://lodash.com/docs/4.17.15#remove",
|
|
164
|
+
"!doc": "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).Note: Unlike _.filter, this method mutates array. Use _.pull to pull elements from an array by value.",
|
|
165
|
+
"!type": "fn(array, [predicate])"
|
|
166
|
+
},
|
|
167
|
+
reverse: {
|
|
168
|
+
"!url": "https://lodash.com/docs/4.17.15#reverse",
|
|
169
|
+
"!doc": "Reverses array so that the first element becomes the last, the second element becomes the second to last, and so on.Note: This method mutates array and is based on Array#reverse.",
|
|
170
|
+
"!type": "fn(array)"
|
|
171
|
+
},
|
|
172
|
+
slice: {
|
|
173
|
+
"!url": "https://lodash.com/docs/4.17.15#slice",
|
|
174
|
+
"!doc": "Creates a slice of array from start up to, but not including, end.Note: This method is used instead of Array#slice to ensure dense arrays are returned.",
|
|
175
|
+
"!type": "fn(array, [start], [end])"
|
|
176
|
+
},
|
|
177
|
+
sortedIndex: {
|
|
178
|
+
"!url": "https://lodash.com/docs/4.17.15#sortedIndex",
|
|
179
|
+
"!doc": "Uses a binary search to determine the lowest index at which value should be inserted into array in order to maintain its sort order.",
|
|
180
|
+
"!type": "fn(array, value)"
|
|
181
|
+
},
|
|
182
|
+
sortedIndexBy: {
|
|
183
|
+
"!url": "https://lodash.com/docs/4.17.15#sortedIndexBy",
|
|
184
|
+
"!doc": "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).",
|
|
185
|
+
"!type": "fn(array, value, [iteratee])"
|
|
186
|
+
},
|
|
187
|
+
sortedIndexOf: {
|
|
188
|
+
"!url": "https://lodash.com/docs/4.17.15#sortedIndexOf",
|
|
189
|
+
"!doc": "This method is like _.indexOf except that it performs a binary search on a sorted array.",
|
|
190
|
+
"!type": "fn(array, value)"
|
|
191
|
+
},
|
|
192
|
+
sortedLastIndex: {
|
|
193
|
+
"!url": "https://lodash.com/docs/4.17.15#sortedLastIndex",
|
|
194
|
+
"!doc": "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.",
|
|
195
|
+
"!type": "fn(array, value)"
|
|
196
|
+
},
|
|
197
|
+
sortedLastIndexBy: {
|
|
198
|
+
"!url": "https://lodash.com/docs/4.17.15#sortedLastIndexBy",
|
|
199
|
+
"!doc": "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).",
|
|
200
|
+
"!type": "fn(array, value, [iteratee])"
|
|
201
|
+
},
|
|
202
|
+
sortedLastIndexOf: {
|
|
203
|
+
"!url": "https://lodash.com/docs/4.17.15#sortedLastIndexOf",
|
|
204
|
+
"!doc": "This method is like _.lastIndexOf except that it performs a binary search on a sorted array.",
|
|
205
|
+
"!type": "fn(array, value)"
|
|
206
|
+
},
|
|
207
|
+
sortedUniq: {
|
|
208
|
+
"!url": "https://lodash.com/docs/4.17.15#sortedUniq",
|
|
209
|
+
"!doc": "This method is like _.uniq except that it's designed and optimized for sorted arrays.",
|
|
210
|
+
"!type": "fn(array)"
|
|
211
|
+
},
|
|
212
|
+
sortedUniqBy: {
|
|
213
|
+
"!url": "https://lodash.com/docs/4.17.15#sortedUniqBy",
|
|
214
|
+
"!doc": "This method is like _.uniqBy except that it's designed and optimized for sorted arrays.",
|
|
215
|
+
"!type": "fn(array, [iteratee])"
|
|
216
|
+
},
|
|
217
|
+
tail: {
|
|
218
|
+
"!url": "https://lodash.com/docs/4.17.15#tail",
|
|
219
|
+
"!doc": "Gets all but the first element of array.",
|
|
220
|
+
"!type": "fn(array)"
|
|
221
|
+
},
|
|
222
|
+
take: {
|
|
223
|
+
"!url": "https://lodash.com/docs/4.17.15#take",
|
|
224
|
+
"!doc": "Creates a slice of array with n elements taken from the beginning.",
|
|
225
|
+
"!type": "fn(array, [n])"
|
|
226
|
+
},
|
|
227
|
+
takeRight: {
|
|
228
|
+
"!url": "https://lodash.com/docs/4.17.15#takeRight",
|
|
229
|
+
"!doc": "Creates a slice of array with n elements taken from the end.",
|
|
230
|
+
"!type": "fn(array, [n])"
|
|
231
|
+
},
|
|
232
|
+
takeRightWhile: {
|
|
233
|
+
"!url": "https://lodash.com/docs/4.17.15#takeRightWhile",
|
|
234
|
+
"!doc": "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).",
|
|
235
|
+
"!type": "fn(array, [predicate])"
|
|
236
|
+
},
|
|
237
|
+
takeWhile: {
|
|
238
|
+
"!url": "https://lodash.com/docs/4.17.15#takeWhile",
|
|
239
|
+
"!doc": "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).",
|
|
240
|
+
"!type": "fn(array, [predicate])"
|
|
241
|
+
},
|
|
242
|
+
union: {
|
|
243
|
+
"!url": "https://lodash.com/docs/4.17.15#union",
|
|
244
|
+
"!doc": "Creates an array of unique values, in order, from all given arrays using SameValueZero for equality comparisons.",
|
|
245
|
+
"!type": "fn([arrays])"
|
|
246
|
+
},
|
|
247
|
+
unionBy: {
|
|
248
|
+
"!url": "https://lodash.com/docs/4.17.15#unionBy",
|
|
249
|
+
"!doc": "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).",
|
|
250
|
+
"!type": "fn([arrays], [iteratee])"
|
|
251
|
+
},
|
|
252
|
+
unionWith: {
|
|
253
|
+
"!url": "https://lodash.com/docs/4.17.15#unionWith",
|
|
254
|
+
"!doc": "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).",
|
|
255
|
+
"!type": "fn([arrays], [comparator])"
|
|
256
|
+
},
|
|
257
|
+
uniq: {
|
|
258
|
+
"!url": "https://lodash.com/docs/4.17.15#uniq",
|
|
259
|
+
"!doc": "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.",
|
|
260
|
+
"!type": "fn(array)"
|
|
261
|
+
},
|
|
262
|
+
uniqBy: {
|
|
263
|
+
"!url": "https://lodash.com/docs/4.17.15#uniqBy",
|
|
264
|
+
"!doc": "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).",
|
|
265
|
+
"!type": "fn(array, [iteratee])"
|
|
266
|
+
},
|
|
267
|
+
uniqWith: {
|
|
268
|
+
"!url": "https://lodash.com/docs/4.17.15#uniqWith",
|
|
269
|
+
"!doc": "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).",
|
|
270
|
+
"!type": "fn(array, [comparator])"
|
|
271
|
+
},
|
|
272
|
+
unzip: {
|
|
273
|
+
"!url": "https://lodash.com/docs/4.17.15#unzip",
|
|
274
|
+
"!doc": "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.",
|
|
275
|
+
"!type": "fn(array)"
|
|
276
|
+
},
|
|
277
|
+
unzipWith: {
|
|
278
|
+
"!url": "https://lodash.com/docs/4.17.15#unzipWith",
|
|
279
|
+
"!doc": "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).",
|
|
280
|
+
"!type": "fn(array, [iteratee])"
|
|
281
|
+
},
|
|
282
|
+
without: {
|
|
283
|
+
"!url": "https://lodash.com/docs/4.17.15#without",
|
|
284
|
+
"!doc": "Creates an array excluding all given values using SameValueZero for equality comparisons.Note: Unlike _.pull, this method returns a new array.",
|
|
285
|
+
"!type": "fn(array, [values])"
|
|
286
|
+
},
|
|
287
|
+
xor: {
|
|
288
|
+
"!url": "https://lodash.com/docs/4.17.15#xor",
|
|
289
|
+
"!doc": "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.",
|
|
290
|
+
"!type": "fn([arrays])"
|
|
291
|
+
},
|
|
292
|
+
xorBy: {
|
|
293
|
+
"!url": "https://lodash.com/docs/4.17.15#xorBy",
|
|
294
|
+
"!doc": "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).",
|
|
295
|
+
"!type": "fn([arrays], [iteratee])"
|
|
296
|
+
},
|
|
297
|
+
xorWith: {
|
|
298
|
+
"!url": "https://lodash.com/docs/4.17.15#xorWith",
|
|
299
|
+
"!doc": "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).",
|
|
300
|
+
"!type": "fn([arrays], [comparator])"
|
|
301
|
+
},
|
|
302
|
+
zip: {
|
|
303
|
+
"!url": "https://lodash.com/docs/4.17.15#zip",
|
|
304
|
+
"!doc": "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.",
|
|
305
|
+
"!type": "fn([arrays])"
|
|
306
|
+
},
|
|
307
|
+
zipObject: {
|
|
308
|
+
"!url": "https://lodash.com/docs/4.17.15#zipObject",
|
|
309
|
+
"!doc": "This method is like _.fromPairs except that it accepts two arrays, one of property identifiers and one of corresponding values.",
|
|
310
|
+
"!type": "fn([props], [values])"
|
|
311
|
+
},
|
|
312
|
+
zipObjectDeep: {
|
|
313
|
+
"!url": "https://lodash.com/docs/4.17.15#zipObjectDeep",
|
|
314
|
+
"!doc": "This method is like _.zipObject except that it supports property paths.",
|
|
315
|
+
"!type": "fn([props], [values])"
|
|
316
|
+
},
|
|
317
|
+
zipWith: {
|
|
318
|
+
"!url": "https://lodash.com/docs/4.17.15#zipWith",
|
|
319
|
+
"!doc": "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).",
|
|
320
|
+
"!type": "fn([arrays], [iteratee])"
|
|
321
|
+
},
|
|
322
|
+
countBy: {
|
|
323
|
+
"!url": "https://lodash.com/docs/4.17.15#countBy",
|
|
324
|
+
"!doc": "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).",
|
|
325
|
+
"!type": "fn(collection, [iteratee])"
|
|
326
|
+
},
|
|
327
|
+
every: {
|
|
328
|
+
"!url": "https://lodash.com/docs/4.17.15#every",
|
|
329
|
+
"!doc": "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).Note: This method returns true for empty collections because everything is true of elements of empty collections.",
|
|
330
|
+
"!type": "fn(collection, [predicate])"
|
|
331
|
+
},
|
|
332
|
+
filter: {
|
|
333
|
+
"!url": "https://lodash.com/docs/4.17.15#filter",
|
|
334
|
+
"!doc": "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).Note: Unlike _.remove, this method returns a new array.",
|
|
335
|
+
"!type": "fn(collection, [predicate])"
|
|
336
|
+
},
|
|
337
|
+
find: {
|
|
338
|
+
"!url": "https://lodash.com/docs/4.17.15#find",
|
|
339
|
+
"!doc": "Iterates over elements of collection, returning the first element predicate returns truthy for. The predicate is invoked with three arguments: (value, index|key, collection).",
|
|
340
|
+
"!type": "fn(collection, [predicate], [fromIndex])"
|
|
341
|
+
},
|
|
342
|
+
findLast: {
|
|
343
|
+
"!url": "https://lodash.com/docs/4.17.15#findLast",
|
|
344
|
+
"!doc": "This method is like _.find except that it iterates over elements of collection from right to left.",
|
|
345
|
+
"!type": "fn(collection, [predicate], [fromIndex])"
|
|
346
|
+
},
|
|
347
|
+
flatMap: {
|
|
348
|
+
"!url": "https://lodash.com/docs/4.17.15#flatMap",
|
|
349
|
+
"!doc": "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).",
|
|
350
|
+
"!type": "fn(collection, [iteratee])"
|
|
351
|
+
},
|
|
352
|
+
flatMapDeep: {
|
|
353
|
+
"!url": "https://lodash.com/docs/4.17.15#flatMapDeep",
|
|
354
|
+
"!doc": "This method is like _.flatMap except that it recursively flattens the mapped results.",
|
|
355
|
+
"!type": "fn(collection, [iteratee])"
|
|
356
|
+
},
|
|
357
|
+
flatMapDepth: {
|
|
358
|
+
"!url": "https://lodash.com/docs/4.17.15#flatMapDepth",
|
|
359
|
+
"!doc": "This method is like _.flatMap except that it recursively flattens the mapped results up to depth times.",
|
|
360
|
+
"!type": "fn(collection, [iteratee], [depth])"
|
|
361
|
+
},
|
|
362
|
+
forEach: {
|
|
363
|
+
"!url": "https://lodash.com/docs/4.17.15#forEach",
|
|
364
|
+
"!doc": "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.Note: As with other \"Collections\" methods, objects with a \"length\" property are iterated like arrays. To avoid this behavior use _.forIn or _.forOwn for object iteration.",
|
|
365
|
+
"!type": "fn(collection, [iteratee])"
|
|
366
|
+
},
|
|
367
|
+
forEachRight: {
|
|
368
|
+
"!url": "https://lodash.com/docs/4.17.15#forEachRight",
|
|
369
|
+
"!doc": "This method is like _.forEach except that it iterates over elements of collection from right to left.",
|
|
370
|
+
"!type": "fn(collection, [iteratee])"
|
|
371
|
+
},
|
|
372
|
+
groupBy: {
|
|
373
|
+
"!url": "https://lodash.com/docs/4.17.15#groupBy",
|
|
374
|
+
"!doc": "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).",
|
|
375
|
+
"!type": "fn(collection, [iteratee])"
|
|
376
|
+
},
|
|
377
|
+
includes: {
|
|
378
|
+
"!url": "https://lodash.com/docs/4.17.15#includes",
|
|
379
|
+
"!doc": "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.",
|
|
380
|
+
"!type": "fn(collection, value, [fromIndex])"
|
|
381
|
+
},
|
|
382
|
+
invokeMap: {
|
|
383
|
+
"!url": "https://lodash.com/docs/4.17.15#invokeMap",
|
|
384
|
+
"!doc": "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.",
|
|
385
|
+
"!type": "fn(collection, path, [args])"
|
|
386
|
+
},
|
|
387
|
+
keyBy: {
|
|
388
|
+
"!url": "https://lodash.com/docs/4.17.15#keyBy",
|
|
389
|
+
"!doc": "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).",
|
|
390
|
+
"!type": "fn(collection, [iteratee])"
|
|
391
|
+
},
|
|
392
|
+
map: {
|
|
393
|
+
"!url": "https://lodash.com/docs/4.17.15#map",
|
|
394
|
+
"!doc": "Creates an array of values by running each element in collection thru iteratee. The iteratee is invoked with three arguments:(value, index|key, collection).Many lodash methods are guarded to work as iteratees for methods like _.every, _.filter, _.map, _.mapValues, _.reject, and _.some.The guarded methods are:ary, chunk, curry, curryRight, drop, dropRight, every, fill, invert, parseInt, random, range, rangeRight, repeat, sampleSize, slice, some, sortBy, split, take, takeRight, template, trim, trimEnd, trimStart, and words",
|
|
395
|
+
"!type": "fn(collection, [iteratee])"
|
|
396
|
+
},
|
|
397
|
+
orderBy: {
|
|
398
|
+
"!url": "https://lodash.com/docs/4.17.15#orderBy",
|
|
399
|
+
"!doc": "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.",
|
|
400
|
+
"!type": "fn(collection, [iteratees], [orders])"
|
|
401
|
+
},
|
|
402
|
+
partition: {
|
|
403
|
+
"!url": "https://lodash.com/docs/4.17.15#partition",
|
|
404
|
+
"!doc": "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).",
|
|
405
|
+
"!type": "fn(collection, [predicate])"
|
|
406
|
+
},
|
|
407
|
+
reduce: {
|
|
408
|
+
"!url": "https://lodash.com/docs/4.17.15#reduce",
|
|
409
|
+
"!doc": "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).Many lodash methods are guarded to work as iteratees for methods like _.reduce, _.reduceRight, and _.transform.The guarded methods are:assign, defaults, defaultsDeep, includes, merge, orderBy, and sortBy",
|
|
410
|
+
"!type": "fn(collection, [iteratee], [accumulator])"
|
|
411
|
+
},
|
|
412
|
+
reduceRight: {
|
|
413
|
+
"!url": "https://lodash.com/docs/4.17.15#reduceRight",
|
|
414
|
+
"!doc": "This method is like _.reduce except that it iterates over elements of collection from right to left.",
|
|
415
|
+
"!type": "fn(collection, [iteratee], [accumulator])"
|
|
416
|
+
},
|
|
417
|
+
reject: {
|
|
418
|
+
"!url": "https://lodash.com/docs/4.17.15#reject",
|
|
419
|
+
"!doc": "The opposite of _.filter; this method returns the elements of collection that predicate does not return truthy for.",
|
|
420
|
+
"!type": "fn(collection, [predicate])"
|
|
421
|
+
},
|
|
422
|
+
sample: {
|
|
423
|
+
"!url": "https://lodash.com/docs/4.17.15#sample",
|
|
424
|
+
"!doc": "Gets a random element from collection.",
|
|
425
|
+
"!type": "fn(collection)"
|
|
426
|
+
},
|
|
427
|
+
sampleSize: {
|
|
428
|
+
"!url": "https://lodash.com/docs/4.17.15#sampleSize",
|
|
429
|
+
"!doc": "Gets n random elements at unique keys from collection up to the size of collection.",
|
|
430
|
+
"!type": "fn(collection, [n])"
|
|
431
|
+
},
|
|
432
|
+
shuffle: {
|
|
433
|
+
"!url": "https://lodash.com/docs/4.17.15#shuffle",
|
|
434
|
+
"!doc": "Creates an array of shuffled values, using a version of the Fisher-Yates shuffle.",
|
|
435
|
+
"!type": "fn(collection)"
|
|
436
|
+
},
|
|
437
|
+
size: {
|
|
438
|
+
"!url": "https://lodash.com/docs/4.17.15#size",
|
|
439
|
+
"!doc": "Gets the size of collection by returning its length for array-like values or the number of own enumerable string keyed properties for objects.",
|
|
440
|
+
"!type": "fn(collection)"
|
|
441
|
+
},
|
|
442
|
+
some: {
|
|
443
|
+
"!url": "https://lodash.com/docs/4.17.15#some",
|
|
444
|
+
"!doc": "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).",
|
|
445
|
+
"!type": "fn(collection, [predicate])"
|
|
446
|
+
},
|
|
447
|
+
sortBy: {
|
|
448
|
+
"!url": "https://lodash.com/docs/4.17.15#sortBy",
|
|
449
|
+
"!doc": "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).",
|
|
450
|
+
"!type": "fn(collection, [iteratees])"
|
|
451
|
+
},
|
|
452
|
+
now: {
|
|
453
|
+
"!url": "https://lodash.com/docs/4.17.15#now",
|
|
454
|
+
"!doc": "Gets the timestamp of the number of milliseconds that have elapsed since the Unix epoch (1 January 1970 00:00:00 UTC).",
|
|
455
|
+
"!type": "fn()"
|
|
456
|
+
},
|
|
457
|
+
after: {
|
|
458
|
+
"!url": "https://lodash.com/docs/4.17.15#after",
|
|
459
|
+
"!doc": "The opposite of _.before; this method creates a function that invokes func once it's called n or more times.",
|
|
460
|
+
"!type": "fn(n, func)"
|
|
461
|
+
},
|
|
462
|
+
ary: {
|
|
463
|
+
"!url": "https://lodash.com/docs/4.17.15#ary",
|
|
464
|
+
"!doc": "Creates a function that invokes func, with up to n arguments, ignoring any additional arguments.",
|
|
465
|
+
"!type": "fn(func, [n])"
|
|
466
|
+
},
|
|
467
|
+
before: {
|
|
468
|
+
"!url": "https://lodash.com/docs/4.17.15#before",
|
|
469
|
+
"!doc": "Creates a function that invokes func, with the this binding and arguments of the created function, while it's called less than n times. Subsequent calls to the created function return the result of the last func invocation.",
|
|
470
|
+
"!type": "fn(n, func)"
|
|
471
|
+
},
|
|
472
|
+
bind: {
|
|
473
|
+
"!url": "https://lodash.com/docs/4.17.15#bind",
|
|
474
|
+
"!doc": "Creates a function that invokes func with the this binding of thisArg and partials prepended to the arguments it receives.The _.bind.placeholder value, which defaults to _ in monolithic builds, may be used as a placeholder for partially applied arguments.Note: Unlike native Function#bind, this method doesn't set the \"length\" property of bound functions.",
|
|
475
|
+
"!type": "fn(func, thisArg, [partials])"
|
|
476
|
+
},
|
|
477
|
+
bindKey: {
|
|
478
|
+
"!url": "https://lodash.com/docs/4.17.15#bindKey",
|
|
479
|
+
"!doc": "Creates a function that invokes the method at object[key] with partials prepended to the arguments it receives.This method differs from _.bind by allowing bound functions to reference methods that may be redefined or don't yet exist. See Peter Michaux's article for more details.The _.bindKey.placeholder value, which defaults to _ in monolithic builds, may be used as a placeholder for partially applied arguments.",
|
|
480
|
+
"!type": "fn(object, key, [partials])"
|
|
481
|
+
},
|
|
482
|
+
curry: {
|
|
483
|
+
"!url": "https://lodash.com/docs/4.17.15#curry",
|
|
484
|
+
"!doc": "Creates a function that accepts arguments of func and either invokes func returning its result, if at least arity number of arguments have been provided, or returns a function that accepts the remaining func arguments, and so on. The arity of func may be specified if func.length is not sufficient.The _.curry.placeholder value, which defaults to _ in monolithic builds, may be used as a placeholder for provided arguments.Note: This method doesn't set the \"length\" property of curried functions.",
|
|
485
|
+
"!type": "fn(func, [arity])"
|
|
486
|
+
},
|
|
487
|
+
curryRight: {
|
|
488
|
+
"!url": "https://lodash.com/docs/4.17.15#curryRight",
|
|
489
|
+
"!doc": "This method is like _.curry except that arguments are applied to func in the manner of _.partialRight instead of _.partial.The _.curryRight.placeholder value, which defaults to _ in monolithic builds, may be used as a placeholder for provided arguments.Note: This method doesn't set the \"length\" property of curried functions.",
|
|
490
|
+
"!type": "fn(func, [arity])"
|
|
491
|
+
},
|
|
492
|
+
debounce: {
|
|
493
|
+
"!url": "https://lodash.com/docs/4.17.15#debounce",
|
|
494
|
+
"!doc": "Creates a debounced function that delays invoking func until after wait milliseconds have elapsed since the last time the debounced function was invoked. The debounced 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 debounced function. Subsequent calls to the debounced function return the result of the last func invocation.Note: If leading and trailing options are true, func is invoked on the trailing edge of the timeout only if the debounced function is invoked more than once during the wait timeout.If wait is 0 and leading is false, func invocation is deferred until to the next tick, similar to setTimeout with a timeout of 0.See David Corbacho's article for details over the differences between _.debounce and _.throttle.",
|
|
495
|
+
"!type": "fn(func, [wait], [options])"
|
|
496
|
+
},
|
|
497
|
+
defer: {
|
|
498
|
+
"!url": "https://lodash.com/docs/4.17.15#defer",
|
|
499
|
+
"!doc": "Defers invoking the func until the current call stack has cleared. Any additional arguments are provided to func when it's invoked.",
|
|
500
|
+
"!type": "fn(func, [args])"
|
|
501
|
+
},
|
|
502
|
+
delay: {
|
|
503
|
+
"!url": "https://lodash.com/docs/4.17.15#delay",
|
|
504
|
+
"!doc": "Invokes func after wait milliseconds. Any additional arguments are provided to func when it's invoked.",
|
|
505
|
+
"!type": "fn(func, wait, [args])"
|
|
506
|
+
},
|
|
507
|
+
flip: {
|
|
508
|
+
"!url": "https://lodash.com/docs/4.17.15#flip",
|
|
509
|
+
"!doc": "Creates a function that invokes func with arguments reversed.",
|
|
510
|
+
"!type": "fn(func)"
|
|
511
|
+
},
|
|
512
|
+
memoize: {
|
|
513
|
+
"!url": "https://lodash.com/docs/4.17.15#memoize",
|
|
514
|
+
"!doc": "Creates a function that memoizes the result of func. If resolver is provided, it determines the cache key for storing the result based on the arguments provided to the memoized function. By default, the first argument provided to the memoized function is used as the map cache key. The func is invoked with the this binding of the memoized function.Note: The cache is exposed as the cache property on the memoized function. Its creation may be customized by replacing the _.memoize.Cache constructor with one whose instances implement the Map method interface of clear, delete, get, has, and set.",
|
|
515
|
+
"!type": "fn(func, [resolver])"
|
|
516
|
+
},
|
|
517
|
+
negate: {
|
|
518
|
+
"!url": "https://lodash.com/docs/4.17.15#negate",
|
|
519
|
+
"!doc": "Creates a function that negates the result of the predicate func. The func predicate is invoked with the this binding and arguments of the created function.",
|
|
520
|
+
"!type": "fn(predicate)"
|
|
521
|
+
},
|
|
522
|
+
once: {
|
|
523
|
+
"!url": "https://lodash.com/docs/4.17.15#once",
|
|
524
|
+
"!doc": "Creates a function that is restricted to invoking func once. Repeat calls to the function return the value of the first invocation. The func is invoked with the this binding and arguments of the created function.",
|
|
525
|
+
"!type": "fn(func)"
|
|
526
|
+
},
|
|
527
|
+
overArgs: {
|
|
528
|
+
"!url": "https://lodash.com/docs/4.17.15#overArgs",
|
|
529
|
+
"!doc": "Creates a function that invokes func with its arguments transformed.",
|
|
530
|
+
"!type": "fn(func, [transforms])"
|
|
531
|
+
},
|
|
532
|
+
partial: {
|
|
533
|
+
"!url": "https://lodash.com/docs/4.17.15#partial",
|
|
534
|
+
"!doc": "Creates a function that invokes func with partials prepended to the arguments it receives. This method is like _.bind except it does not alter the this binding.The _.partial.placeholder value, which defaults to _ in monolithic builds, may be used as a placeholder for partially applied arguments.Note: This method doesn't set the \"length\" property of partially applied functions.",
|
|
535
|
+
"!type": "fn(func, [partials])"
|
|
536
|
+
},
|
|
537
|
+
partialRight: {
|
|
538
|
+
"!url": "https://lodash.com/docs/4.17.15#partialRight",
|
|
539
|
+
"!doc": "This method is like _.partial except that partially applied arguments are appended to the arguments it receives.The _.partialRight.placeholder value, which defaults to _ in monolithic builds, may be used as a placeholder for partially applied arguments.Note: This method doesn't set the \"length\" property of partially applied functions.",
|
|
540
|
+
"!type": "fn(func, [partials])"
|
|
541
|
+
},
|
|
542
|
+
rearg: {
|
|
543
|
+
"!url": "https://lodash.com/docs/4.17.15#rearg",
|
|
544
|
+
"!doc": "Creates a function that invokes func with arguments arranged according to the specified indexes where the argument value at the first index is provided as the first argument, the argument value at the second index is provided as the second argument, and so on.",
|
|
545
|
+
"!type": "fn(func, indexes)"
|
|
546
|
+
},
|
|
547
|
+
rest: {
|
|
548
|
+
"!url": "https://lodash.com/docs/4.17.15#rest",
|
|
549
|
+
"!doc": "Creates a function that invokes func with the this binding of the created function and arguments from start and beyond provided as an array.Note: This method is based on the rest parameter.",
|
|
550
|
+
"!type": "fn(func, [start])"
|
|
551
|
+
},
|
|
552
|
+
spread: {
|
|
553
|
+
"!url": "https://lodash.com/docs/4.17.15#spread",
|
|
554
|
+
"!doc": "Creates a function that invokes func with the this binding of the create function and an array of arguments much like Function#apply.Note: This method is based on the spread operator.",
|
|
555
|
+
"!type": "fn(func, [start])"
|
|
556
|
+
},
|
|
557
|
+
throttle: {
|
|
558
|
+
"!url": "https://lodash.com/docs/4.17.15#throttle",
|
|
559
|
+
"!doc": "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 calls to the throttled function return the result of the last func invocation.Note: If leading and trailing options are true, func is invoked on the trailing edge of the timeout only if the throttled function is invoked more than once during the wait timeout.If wait is 0 and leading is false, func invocation is deferred until to the next tick, similar to setTimeout with a timeout of 0.See David Corbacho's article for details over the differences between _.throttle and _.debounce.",
|
|
560
|
+
"!type": "fn(func, [wait], [options])"
|
|
561
|
+
},
|
|
562
|
+
unary: {
|
|
563
|
+
"!url": "https://lodash.com/docs/4.17.15#unary",
|
|
564
|
+
"!doc": "Creates a function that accepts up to one argument, ignoring any additional arguments.",
|
|
565
|
+
"!type": "fn(func)"
|
|
566
|
+
},
|
|
567
|
+
wrap: {
|
|
568
|
+
"!url": "https://lodash.com/docs/4.17.15#wrap",
|
|
569
|
+
"!doc": "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.",
|
|
570
|
+
"!type": "fn(value, [wrapper])"
|
|
571
|
+
},
|
|
572
|
+
castArray: {
|
|
573
|
+
"!url": "https://lodash.com/docs/4.17.15#castArray",
|
|
574
|
+
"!doc": "Casts value as an array if it's not one.",
|
|
575
|
+
"!type": "fn(value)"
|
|
576
|
+
},
|
|
577
|
+
clone: {
|
|
578
|
+
"!url": "https://lodash.com/docs/4.17.15#clone",
|
|
579
|
+
"!doc": "Creates a shallow clone of value.Note: This method is loosely based on the structured clone algorithm and supports cloning arrays, array buffers, booleans, date objects, maps, numbers, Object objects, regexes, sets, strings, symbols, and typed arrays. The own enumerable properties of arguments objects are cloned as plain objects. An empty object is returned for uncloneable values such as error objects, functions, DOM nodes, and WeakMaps.",
|
|
580
|
+
"!type": "fn(value)"
|
|
581
|
+
},
|
|
582
|
+
cloneDeep: {
|
|
583
|
+
"!url": "https://lodash.com/docs/4.17.15#cloneDeep",
|
|
584
|
+
"!doc": "This method is like _.clone except that it recursively clones value.",
|
|
585
|
+
"!type": "fn(value)"
|
|
586
|
+
},
|
|
587
|
+
cloneDeepWith: {
|
|
588
|
+
"!url": "https://lodash.com/docs/4.17.15#cloneDeepWith",
|
|
589
|
+
"!doc": "This method is like _.cloneWith except that it recursively clones value.",
|
|
590
|
+
"!type": "fn(value, [customizer])"
|
|
591
|
+
},
|
|
592
|
+
cloneWith: {
|
|
593
|
+
"!url": "https://lodash.com/docs/4.17.15#cloneWith",
|
|
594
|
+
"!doc": "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]).",
|
|
595
|
+
"!type": "fn(value, [customizer])"
|
|
596
|
+
},
|
|
597
|
+
conformsTo: {
|
|
598
|
+
"!url": "https://lodash.com/docs/4.17.15#conformsTo",
|
|
599
|
+
"!doc": "Checks if object conforms to source by invoking the predicate properties of source with the corresponding property values of object.Note: This method is equivalent to _.conforms when source is partially applied.",
|
|
600
|
+
"!type": "fn(object, source)"
|
|
601
|
+
},
|
|
602
|
+
eq: {
|
|
603
|
+
"!url": "https://lodash.com/docs/4.17.15#eq",
|
|
604
|
+
"!doc": "Performs a SameValueZero comparison between two values to determine if they are equivalent.",
|
|
605
|
+
"!type": "fn(value, other)"
|
|
606
|
+
},
|
|
607
|
+
gt: {
|
|
608
|
+
"!url": "https://lodash.com/docs/4.17.15#gt",
|
|
609
|
+
"!doc": "Checks if value is greater than other.",
|
|
610
|
+
"!type": "fn(value, other)"
|
|
611
|
+
},
|
|
612
|
+
gte: {
|
|
613
|
+
"!url": "https://lodash.com/docs/4.17.15#gte",
|
|
614
|
+
"!doc": "Checks if value is greater than or equal to other.",
|
|
615
|
+
"!type": "fn(value, other)"
|
|
616
|
+
},
|
|
617
|
+
isArguments: {
|
|
618
|
+
"!url": "https://lodash.com/docs/4.17.15#isArguments",
|
|
619
|
+
"!doc": "Checks if value is likely an arguments object.",
|
|
620
|
+
"!type": "fn(value)"
|
|
621
|
+
},
|
|
622
|
+
isArray: {
|
|
623
|
+
"!url": "https://lodash.com/docs/4.17.15#isArray",
|
|
624
|
+
"!doc": "Checks if value is classified as an Array object.",
|
|
625
|
+
"!type": "fn(value)"
|
|
626
|
+
},
|
|
627
|
+
isArrayBuffer: {
|
|
628
|
+
"!url": "https://lodash.com/docs/4.17.15#isArrayBuffer",
|
|
629
|
+
"!doc": "Checks if value is classified as an ArrayBuffer object.",
|
|
630
|
+
"!type": "fn(value)"
|
|
631
|
+
},
|
|
632
|
+
isArrayLike: {
|
|
633
|
+
"!url": "https://lodash.com/docs/4.17.15#isArrayLike",
|
|
634
|
+
"!doc": "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.",
|
|
635
|
+
"!type": "fn(value)"
|
|
636
|
+
},
|
|
637
|
+
isArrayLikeObject: {
|
|
638
|
+
"!url": "https://lodash.com/docs/4.17.15#isArrayLikeObject",
|
|
639
|
+
"!doc": "This method is like _.isArrayLike except that it also checks if value is an object.",
|
|
640
|
+
"!type": "fn(value)"
|
|
641
|
+
},
|
|
642
|
+
isBoolean: {
|
|
643
|
+
"!url": "https://lodash.com/docs/4.17.15#isBoolean",
|
|
644
|
+
"!doc": "Checks if value is classified as a boolean primitive or object.",
|
|
645
|
+
"!type": "fn(value)"
|
|
646
|
+
},
|
|
647
|
+
isBuffer: {
|
|
648
|
+
"!url": "https://lodash.com/docs/4.17.15#isBuffer",
|
|
649
|
+
"!doc": "Checks if value is a buffer.",
|
|
650
|
+
"!type": "fn(value)"
|
|
651
|
+
},
|
|
652
|
+
isDate: {
|
|
653
|
+
"!url": "https://lodash.com/docs/4.17.15#isDate",
|
|
654
|
+
"!doc": "Checks if value is classified as a Date object.",
|
|
655
|
+
"!type": "fn(value)"
|
|
656
|
+
},
|
|
657
|
+
isElement: {
|
|
658
|
+
"!url": "https://lodash.com/docs/4.17.15#isElement",
|
|
659
|
+
"!doc": "Checks if value is likely a DOM element.",
|
|
660
|
+
"!type": "fn(value)"
|
|
661
|
+
},
|
|
662
|
+
isEmpty: {
|
|
663
|
+
"!url": "https://lodash.com/docs/4.17.15#isEmpty",
|
|
664
|
+
"!doc": "Checks if value is an empty object, collection, map, or set.Objects are considered empty if they have no own enumerable string keyed properties.Array-like values such as arguments objects, arrays, buffers, strings, or jQuery-like collections are considered empty if they have a length of 0. Similarly, maps and sets are considered empty if they have a size of 0.",
|
|
665
|
+
"!type": "fn(value)"
|
|
666
|
+
},
|
|
667
|
+
isEqual: {
|
|
668
|
+
"!url": "https://lodash.com/docs/4.17.15#isEqual",
|
|
669
|
+
"!doc": "Performs a deep comparison between two values to determine if they are equivalent.Note: This method supports comparing arrays, array buffers, booleans, date objects, error objects, maps, numbers, Object objects, regexes, sets, strings, symbols, and typed arrays. Object objects are compared by their own, not inherited, enumerable properties. Functions and DOM nodes are compared by strict equality, i.e. ===.",
|
|
670
|
+
"!type": "fn(value, other)"
|
|
671
|
+
},
|
|
672
|
+
isEqualWith: {
|
|
673
|
+
"!url": "https://lodash.com/docs/4.17.15#isEqualWith",
|
|
674
|
+
"!doc": "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]).",
|
|
675
|
+
"!type": "fn(value, other, [customizer])"
|
|
676
|
+
},
|
|
677
|
+
isError: {
|
|
678
|
+
"!url": "https://lodash.com/docs/4.17.15#isError",
|
|
679
|
+
"!doc": "Checks if value is an Error, EvalError, RangeError, ReferenceError, SyntaxError, TypeError, or URIError object.",
|
|
680
|
+
"!type": "fn(value)"
|
|
681
|
+
},
|
|
682
|
+
"isFinite": {
|
|
683
|
+
"!url": "https://lodash.com/docs/4.17.15#isFinite",
|
|
684
|
+
"!doc": "Checks if value is a finite primitive number.Note: This method is based on Number.isFinite.",
|
|
685
|
+
"!type": "fn(value)"
|
|
686
|
+
},
|
|
687
|
+
isFunction: {
|
|
688
|
+
"!url": "https://lodash.com/docs/4.17.15#isFunction",
|
|
689
|
+
"!doc": "Checks if value is classified as a Function object.",
|
|
690
|
+
"!type": "fn(value)"
|
|
691
|
+
},
|
|
692
|
+
isInteger: {
|
|
693
|
+
"!url": "https://lodash.com/docs/4.17.15#isInteger",
|
|
694
|
+
"!doc": "Checks if value is an integer.Note: This method is based on Number.isInteger.",
|
|
695
|
+
"!type": "fn(value)"
|
|
696
|
+
},
|
|
697
|
+
isLength: {
|
|
698
|
+
"!url": "https://lodash.com/docs/4.17.15#isLength",
|
|
699
|
+
"!doc": "Checks if value is a valid array-like length.Note: This method is loosely based on ToLength.",
|
|
700
|
+
"!type": "fn(value)"
|
|
701
|
+
},
|
|
702
|
+
isMap: {
|
|
703
|
+
"!url": "https://lodash.com/docs/4.17.15#isMap",
|
|
704
|
+
"!doc": "Checks if value is classified as a Map object.",
|
|
705
|
+
"!type": "fn(value)"
|
|
706
|
+
},
|
|
707
|
+
isMatch: {
|
|
708
|
+
"!url": "https://lodash.com/docs/4.17.15#isMatch",
|
|
709
|
+
"!doc": "Performs a partial deep comparison between object and source to determine if object contains equivalent property values.Note: This method is equivalent to _.matches when source is partially applied.Partial comparisons will match empty array and empty object source values against any array or object value, respectively. See _.isEqual for a list of supported value comparisons.",
|
|
710
|
+
"!type": "fn(object, source)"
|
|
711
|
+
},
|
|
712
|
+
isMatchWith: {
|
|
713
|
+
"!url": "https://lodash.com/docs/4.17.15#isMatchWith",
|
|
714
|
+
"!doc": "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).",
|
|
715
|
+
"!type": "fn(object, source, [customizer])"
|
|
716
|
+
},
|
|
717
|
+
"isNaN": {
|
|
718
|
+
"!url": "https://lodash.com/docs/4.17.15#isNaN",
|
|
719
|
+
"!doc": "Checks if value is NaN.Note: This method is based on Number.isNaN and is not the same as global isNaN which returns true for undefined and other non-number values.",
|
|
720
|
+
"!type": "fn(value)"
|
|
721
|
+
},
|
|
722
|
+
isNative: {
|
|
723
|
+
"!url": "https://lodash.com/docs/4.17.15#isNative",
|
|
724
|
+
"!doc": "Checks if value is a pristine native function.Note: This method can't reliably detect native functions in the presence of the core-js package because core-js circumvents this kind of detection. Despite multiple requests, the core-js maintainer has made it clear: any attempt to fix the detection will be obstructed. As a result, we're left with little choice but to throw an error. Unfortunately, this also affects packages, like babel-polyfill, which rely on core-js.",
|
|
725
|
+
"!type": "fn(value)"
|
|
726
|
+
},
|
|
727
|
+
isNil: {
|
|
728
|
+
"!url": "https://lodash.com/docs/4.17.15#isNil",
|
|
729
|
+
"!doc": "Checks if value is null or undefined.",
|
|
730
|
+
"!type": "fn(value)"
|
|
731
|
+
},
|
|
732
|
+
isNull: {
|
|
733
|
+
"!url": "https://lodash.com/docs/4.17.15#isNull",
|
|
734
|
+
"!doc": "Checks if value is null.",
|
|
735
|
+
"!type": "fn(value)"
|
|
736
|
+
},
|
|
737
|
+
isNumber: {
|
|
738
|
+
"!url": "https://lodash.com/docs/4.17.15#isNumber",
|
|
739
|
+
"!doc": "Checks if value is classified as a Number primitive or object.Note: To exclude Infinity, -Infinity, and NaN, which are classified as numbers, use the _.isFinite method.",
|
|
740
|
+
"!type": "fn(value)"
|
|
741
|
+
},
|
|
742
|
+
isObject: {
|
|
743
|
+
"!url": "https://lodash.com/docs/4.17.15#isObject",
|
|
744
|
+
"!doc": "Checks if value is the language type of Object. (e.g. arrays, functions, objects, regexes, new Number(0), and new String(''))",
|
|
745
|
+
"!type": "fn(value)"
|
|
746
|
+
},
|
|
747
|
+
isObjectLike: {
|
|
748
|
+
"!url": "https://lodash.com/docs/4.17.15#isObjectLike",
|
|
749
|
+
"!doc": "Checks if value is object-like. A value is object-like if it's not null and has a typeof result of \"object\".",
|
|
750
|
+
"!type": "fn(value)"
|
|
751
|
+
},
|
|
752
|
+
isPlainObject: {
|
|
753
|
+
"!url": "https://lodash.com/docs/4.17.15#isPlainObject",
|
|
754
|
+
"!doc": "Checks if value is a plain object, that is, an object created by the Object constructor or one with a [[Prototype]] of null.",
|
|
755
|
+
"!type": "fn(value)"
|
|
756
|
+
},
|
|
757
|
+
isRegExp: {
|
|
758
|
+
"!url": "https://lodash.com/docs/4.17.15#isRegExp",
|
|
759
|
+
"!doc": "Checks if value is classified as a RegExp object.",
|
|
760
|
+
"!type": "fn(value)"
|
|
761
|
+
},
|
|
762
|
+
isSafeInteger: {
|
|
763
|
+
"!url": "https://lodash.com/docs/4.17.15#isSafeInteger",
|
|
764
|
+
"!doc": "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.Note: This method is based on Number.isSafeInteger.",
|
|
765
|
+
"!type": "fn(value)"
|
|
766
|
+
},
|
|
767
|
+
isSet: {
|
|
768
|
+
"!url": "https://lodash.com/docs/4.17.15#isSet",
|
|
769
|
+
"!doc": "Checks if value is classified as a Set object.",
|
|
770
|
+
"!type": "fn(value)"
|
|
771
|
+
},
|
|
772
|
+
isString: {
|
|
773
|
+
"!url": "https://lodash.com/docs/4.17.15#isString",
|
|
774
|
+
"!doc": "Checks if value is classified as a String primitive or object.",
|
|
775
|
+
"!type": "fn(value)"
|
|
776
|
+
},
|
|
777
|
+
isSymbol: {
|
|
778
|
+
"!url": "https://lodash.com/docs/4.17.15#isSymbol",
|
|
779
|
+
"!doc": "Checks if value is classified as a Symbol primitive or object.",
|
|
780
|
+
"!type": "fn(value)"
|
|
781
|
+
},
|
|
782
|
+
isTypedArray: {
|
|
783
|
+
"!url": "https://lodash.com/docs/4.17.15#isTypedArray",
|
|
784
|
+
"!doc": "Checks if value is classified as a typed array.",
|
|
785
|
+
"!type": "fn(value)"
|
|
786
|
+
},
|
|
787
|
+
isUndefined: {
|
|
788
|
+
"!url": "https://lodash.com/docs/4.17.15#isUndefined",
|
|
789
|
+
"!doc": "Checks if value is undefined.",
|
|
790
|
+
"!type": "fn(value)"
|
|
791
|
+
},
|
|
792
|
+
isWeakMap: {
|
|
793
|
+
"!url": "https://lodash.com/docs/4.17.15#isWeakMap",
|
|
794
|
+
"!doc": "Checks if value is classified as a WeakMap object.",
|
|
795
|
+
"!type": "fn(value)"
|
|
796
|
+
},
|
|
797
|
+
isWeakSet: {
|
|
798
|
+
"!url": "https://lodash.com/docs/4.17.15#isWeakSet",
|
|
799
|
+
"!doc": "Checks if value is classified as a WeakSet object.",
|
|
800
|
+
"!type": "fn(value)"
|
|
801
|
+
},
|
|
802
|
+
lt: {
|
|
803
|
+
"!url": "https://lodash.com/docs/4.17.15#lt",
|
|
804
|
+
"!doc": "Checks if value is less than other.",
|
|
805
|
+
"!type": "fn(value, other)"
|
|
806
|
+
},
|
|
807
|
+
lte: {
|
|
808
|
+
"!url": "https://lodash.com/docs/4.17.15#lte",
|
|
809
|
+
"!doc": "Checks if value is less than or equal to other.",
|
|
810
|
+
"!type": "fn(value, other)"
|
|
811
|
+
},
|
|
812
|
+
toArray: {
|
|
813
|
+
"!url": "https://lodash.com/docs/4.17.15#toArray",
|
|
814
|
+
"!doc": "Converts value to an array.",
|
|
815
|
+
"!type": "fn(value)"
|
|
816
|
+
},
|
|
817
|
+
toFinite: {
|
|
818
|
+
"!url": "https://lodash.com/docs/4.17.15#toFinite",
|
|
819
|
+
"!doc": "Converts value to a finite number.",
|
|
820
|
+
"!type": "fn(value)"
|
|
821
|
+
},
|
|
822
|
+
toInteger: {
|
|
823
|
+
"!url": "https://lodash.com/docs/4.17.15#toInteger",
|
|
824
|
+
"!doc": "Converts value to an integer.Note: This method is loosely based on ToInteger.",
|
|
825
|
+
"!type": "fn(value)"
|
|
826
|
+
},
|
|
827
|
+
toLength: {
|
|
828
|
+
"!url": "https://lodash.com/docs/4.17.15#toLength",
|
|
829
|
+
"!doc": "Converts value to an integer suitable for use as the length of an array-like object.Note: This method is based on ToLength.",
|
|
830
|
+
"!type": "fn(value)"
|
|
831
|
+
},
|
|
832
|
+
toNumber: {
|
|
833
|
+
"!url": "https://lodash.com/docs/4.17.15#toNumber",
|
|
834
|
+
"!doc": "Converts value to a number.",
|
|
835
|
+
"!type": "fn(value)"
|
|
836
|
+
},
|
|
837
|
+
toPlainObject: {
|
|
838
|
+
"!url": "https://lodash.com/docs/4.17.15#toPlainObject",
|
|
839
|
+
"!doc": "Converts value to a plain object flattening inherited enumerable string keyed properties of value to own properties of the plain object.",
|
|
840
|
+
"!type": "fn(value)"
|
|
841
|
+
},
|
|
842
|
+
toSafeInteger: {
|
|
843
|
+
"!url": "https://lodash.com/docs/4.17.15#toSafeInteger",
|
|
844
|
+
"!doc": "Converts value to a safe integer. A safe integer can be compared and represented correctly.",
|
|
845
|
+
"!type": "fn(value)"
|
|
846
|
+
},
|
|
847
|
+
toString: {
|
|
848
|
+
"!url": "https://lodash.com/docs/4.17.15#toString",
|
|
849
|
+
"!doc": "Converts value to a string. An empty string is returned for null and undefined values. The sign of -0 is preserved.",
|
|
850
|
+
"!type": "fn(value)"
|
|
851
|
+
},
|
|
852
|
+
add: {
|
|
853
|
+
"!url": "https://lodash.com/docs/4.17.15#add",
|
|
854
|
+
"!doc": "Adds two numbers.",
|
|
855
|
+
"!type": "fn(augend, addend)"
|
|
856
|
+
},
|
|
857
|
+
ceil: {
|
|
858
|
+
"!url": "https://lodash.com/docs/4.17.15#ceil",
|
|
859
|
+
"!doc": "Computes number rounded up to precision.",
|
|
860
|
+
"!type": "fn(number, [precision])"
|
|
861
|
+
},
|
|
862
|
+
divide: {
|
|
863
|
+
"!url": "https://lodash.com/docs/4.17.15#divide",
|
|
864
|
+
"!doc": "Divide two numbers.",
|
|
865
|
+
"!type": "fn(dividend, divisor)"
|
|
866
|
+
},
|
|
867
|
+
floor: {
|
|
868
|
+
"!url": "https://lodash.com/docs/4.17.15#floor",
|
|
869
|
+
"!doc": "Computes number rounded down to precision.",
|
|
870
|
+
"!type": "fn(number, [precision])"
|
|
871
|
+
},
|
|
872
|
+
max: {
|
|
873
|
+
"!url": "https://lodash.com/docs/4.17.15#max",
|
|
874
|
+
"!doc": "Computes the maximum value of array. If array is empty or falsey, undefined is returned.",
|
|
875
|
+
"!type": "fn(array)"
|
|
876
|
+
},
|
|
877
|
+
maxBy: {
|
|
878
|
+
"!url": "https://lodash.com/docs/4.17.15#maxBy",
|
|
879
|
+
"!doc": "This method is like _.max except that it accepts iteratee which is invoked for each element in array to generate the criterion by which the value is ranked. The iteratee is invoked with one argument: (value).",
|
|
880
|
+
"!type": "fn(array, [iteratee])"
|
|
881
|
+
},
|
|
882
|
+
mean: {
|
|
883
|
+
"!url": "https://lodash.com/docs/4.17.15#mean",
|
|
884
|
+
"!doc": "Computes the mean of the values in array.",
|
|
885
|
+
"!type": "fn(array)"
|
|
886
|
+
},
|
|
887
|
+
meanBy: {
|
|
888
|
+
"!url": "https://lodash.com/docs/4.17.15#meanBy",
|
|
889
|
+
"!doc": "This method is like _.mean except that it accepts iteratee which is invoked for each element in array to generate the value to be averaged. The iteratee is invoked with one argument: (value).",
|
|
890
|
+
"!type": "fn(array, [iteratee])"
|
|
891
|
+
},
|
|
892
|
+
min: {
|
|
893
|
+
"!url": "https://lodash.com/docs/4.17.15#min",
|
|
894
|
+
"!doc": "Computes the minimum value of array. If array is empty or falsey, undefined is returned.",
|
|
895
|
+
"!type": "fn(array)"
|
|
896
|
+
},
|
|
897
|
+
minBy: {
|
|
898
|
+
"!url": "https://lodash.com/docs/4.17.15#minBy",
|
|
899
|
+
"!doc": "This method is like _.min except that it accepts iteratee which is invoked for each element in array to generate the criterion by which the value is ranked. The iteratee is invoked with one argument: (value).",
|
|
900
|
+
"!type": "fn(array, [iteratee])"
|
|
901
|
+
},
|
|
902
|
+
multiply: {
|
|
903
|
+
"!url": "https://lodash.com/docs/4.17.15#multiply",
|
|
904
|
+
"!doc": "Multiply two numbers.",
|
|
905
|
+
"!type": "fn(multiplier, multiplicand)"
|
|
906
|
+
},
|
|
907
|
+
round: {
|
|
908
|
+
"!url": "https://lodash.com/docs/4.17.15#round",
|
|
909
|
+
"!doc": "Computes number rounded to precision.",
|
|
910
|
+
"!type": "fn(number, [precision])"
|
|
911
|
+
},
|
|
912
|
+
subtract: {
|
|
913
|
+
"!url": "https://lodash.com/docs/4.17.15#subtract",
|
|
914
|
+
"!doc": "Subtract two numbers.",
|
|
915
|
+
"!type": "fn(minuend, subtrahend)"
|
|
916
|
+
},
|
|
917
|
+
sum: {
|
|
918
|
+
"!url": "https://lodash.com/docs/4.17.15#sum",
|
|
919
|
+
"!doc": "Computes the sum of the values in array.",
|
|
920
|
+
"!type": "fn(array)"
|
|
921
|
+
},
|
|
922
|
+
sumBy: {
|
|
923
|
+
"!url": "https://lodash.com/docs/4.17.15#sumBy",
|
|
924
|
+
"!doc": "This method is like _.sum except that it accepts iteratee which is invoked for each element in array to generate the value to be summed. The iteratee is invoked with one argument: (value).",
|
|
925
|
+
"!type": "fn(array, [iteratee])"
|
|
926
|
+
},
|
|
927
|
+
clamp: {
|
|
928
|
+
"!url": "https://lodash.com/docs/4.17.15#clamp",
|
|
929
|
+
"!doc": "Clamps number within the inclusive lower and upper bounds.",
|
|
930
|
+
"!type": "fn(number, [lower], upper)"
|
|
931
|
+
},
|
|
932
|
+
inRange: {
|
|
933
|
+
"!url": "https://lodash.com/docs/4.17.15#inRange",
|
|
934
|
+
"!doc": "Checks if n is between start and up to, but not including, end. If end is not specified, it's set to start with start then set to 0. If start is greater than end the params are swapped to support negative ranges.",
|
|
935
|
+
"!type": "fn(number, [start], end)"
|
|
936
|
+
},
|
|
937
|
+
random: {
|
|
938
|
+
"!url": "https://lodash.com/docs/4.17.15#random",
|
|
939
|
+
"!doc": "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.",
|
|
940
|
+
"!type": "fn([lower], [upper], [floating])"
|
|
941
|
+
},
|
|
942
|
+
assign: {
|
|
943
|
+
"!url": "https://lodash.com/docs/4.17.15#assign",
|
|
944
|
+
"!doc": "Assigns own enumerable string keyed properties of source objects to the destination object. Source objects are applied from left to right. Subsequent sources overwrite property assignments of previous sources.Note: This method mutates object and is loosely based on Object.assign.",
|
|
945
|
+
"!type": "fn(object, [sources])"
|
|
946
|
+
},
|
|
947
|
+
assignIn: {
|
|
948
|
+
"!url": "https://lodash.com/docs/4.17.15#assignIn",
|
|
949
|
+
"!doc": "This method is like _.assign except that it iterates over own and inherited source properties.Note: This method mutates object.",
|
|
950
|
+
"!type": "fn(object, [sources])"
|
|
951
|
+
},
|
|
952
|
+
assignInWith: {
|
|
953
|
+
"!url": "https://lodash.com/docs/4.17.15#assignInWith",
|
|
954
|
+
"!doc": "This method is like _.assignIn except that it accepts customizer which is invoked to produce the assigned values. If customizer returns undefined, assignment is handled by the method instead. The customizer is invoked with five arguments: (objValue, srcValue, key, object, source).Note: This method mutates object.",
|
|
955
|
+
"!type": "fn(object, sources, [customizer])"
|
|
956
|
+
},
|
|
957
|
+
assignWith: {
|
|
958
|
+
"!url": "https://lodash.com/docs/4.17.15#assignWith",
|
|
959
|
+
"!doc": "This method is like _.assign except that it accepts customizer which is invoked to produce the assigned values. If customizer returns undefined, assignment is handled by the method instead. The customizer is invoked with five arguments: (objValue, srcValue, key, object, source).Note: This method mutates object.",
|
|
960
|
+
"!type": "fn(object, sources, [customizer])"
|
|
961
|
+
},
|
|
962
|
+
at: {
|
|
963
|
+
"!url": "https://lodash.com/docs/4.17.15#at",
|
|
964
|
+
"!doc": "Creates an array of values corresponding to paths of object.",
|
|
965
|
+
"!type": "fn(object, [paths])"
|
|
966
|
+
},
|
|
967
|
+
create: {
|
|
968
|
+
"!url": "https://lodash.com/docs/4.17.15#create",
|
|
969
|
+
"!doc": "Creates an object that inherits from the prototype object. If a properties object is given, its own enumerable string keyed properties are assigned to the created object.",
|
|
970
|
+
"!type": "fn(prototype, [properties])"
|
|
971
|
+
},
|
|
972
|
+
defaults: {
|
|
973
|
+
"!url": "https://lodash.com/docs/4.17.15#defaults",
|
|
974
|
+
"!doc": "Assigns own and inherited enumerable string keyed properties of source objects to the destination object for all destination properties that resolve to undefined. Source objects are applied from left to right. Once a property is set, additional values of the same property are ignored.Note: This method mutates object.",
|
|
975
|
+
"!type": "fn(object, [sources])"
|
|
976
|
+
},
|
|
977
|
+
defaultsDeep: {
|
|
978
|
+
"!url": "https://lodash.com/docs/4.17.15#defaultsDeep",
|
|
979
|
+
"!doc": "This method is like _.defaults except that it recursively assigns default properties.Note: This method mutates object.",
|
|
980
|
+
"!type": "fn(object, [sources])"
|
|
981
|
+
},
|
|
982
|
+
findKey: {
|
|
983
|
+
"!url": "https://lodash.com/docs/4.17.15#findKey",
|
|
984
|
+
"!doc": "This method is like _.find except that it returns the key of the first element predicate returns truthy for instead of the element itself.",
|
|
985
|
+
"!type": "fn(object, [predicate])"
|
|
986
|
+
},
|
|
987
|
+
findLastKey: {
|
|
988
|
+
"!url": "https://lodash.com/docs/4.17.15#findLastKey",
|
|
989
|
+
"!doc": "This method is like _.findKey except that it iterates over elements of a collection in the opposite order.",
|
|
990
|
+
"!type": "fn(object, [predicate])"
|
|
991
|
+
},
|
|
992
|
+
forIn: {
|
|
993
|
+
"!url": "https://lodash.com/docs/4.17.15#forIn",
|
|
994
|
+
"!doc": "Iterates over own and inherited enumerable string keyed properties of an object and invokes iteratee for each property. The iteratee is invoked with three arguments: (value, key, object). Iteratee functions may exit iteration early by explicitly returning false.",
|
|
995
|
+
"!type": "fn(object, [iteratee])"
|
|
996
|
+
},
|
|
997
|
+
forInRight: {
|
|
998
|
+
"!url": "https://lodash.com/docs/4.17.15#forInRight",
|
|
999
|
+
"!doc": "This method is like _.forIn except that it iterates over properties of object in the opposite order.",
|
|
1000
|
+
"!type": "fn(object, [iteratee])"
|
|
1001
|
+
},
|
|
1002
|
+
forOwn: {
|
|
1003
|
+
"!url": "https://lodash.com/docs/4.17.15#forOwn",
|
|
1004
|
+
"!doc": "Iterates over own enumerable string keyed properties of an object and invokes iteratee for each property. The iteratee is invoked with three arguments: (value, key, object). Iteratee functions may exit iteration early by explicitly returning false.",
|
|
1005
|
+
"!type": "fn(object, [iteratee])"
|
|
1006
|
+
},
|
|
1007
|
+
forOwnRight: {
|
|
1008
|
+
"!url": "https://lodash.com/docs/4.17.15#forOwnRight",
|
|
1009
|
+
"!doc": "This method is like _.forOwn except that it iterates over properties of object in the opposite order.",
|
|
1010
|
+
"!type": "fn(object, [iteratee])"
|
|
1011
|
+
},
|
|
1012
|
+
functions: {
|
|
1013
|
+
"!url": "https://lodash.com/docs/4.17.15#functions",
|
|
1014
|
+
"!doc": "Creates an array of function property names from own enumerable properties of object.",
|
|
1015
|
+
"!type": "fn(object)"
|
|
1016
|
+
},
|
|
1017
|
+
functionsIn: {
|
|
1018
|
+
"!url": "https://lodash.com/docs/4.17.15#functionsIn",
|
|
1019
|
+
"!doc": "Creates an array of function property names from own and inherited enumerable properties of object.",
|
|
1020
|
+
"!type": "fn(object)"
|
|
1021
|
+
},
|
|
1022
|
+
get: {
|
|
1023
|
+
"!url": "https://lodash.com/docs/4.17.15#get",
|
|
1024
|
+
"!doc": "Gets the value at path of object. If the resolved value is undefined, the defaultValue is returned in its place.",
|
|
1025
|
+
"!type": "fn(object, path, [defaultValue])"
|
|
1026
|
+
},
|
|
1027
|
+
has: {
|
|
1028
|
+
"!url": "https://lodash.com/docs/4.17.15#has",
|
|
1029
|
+
"!doc": "Checks if path is a direct property of object.",
|
|
1030
|
+
"!type": "fn(object, path)"
|
|
1031
|
+
},
|
|
1032
|
+
hasIn: {
|
|
1033
|
+
"!url": "https://lodash.com/docs/4.17.15#hasIn",
|
|
1034
|
+
"!doc": "Checks if path is a direct or inherited property of object.",
|
|
1035
|
+
"!type": "fn(object, path)"
|
|
1036
|
+
},
|
|
1037
|
+
invert: {
|
|
1038
|
+
"!url": "https://lodash.com/docs/4.17.15#invert",
|
|
1039
|
+
"!doc": "Creates an object composed of the inverted keys and values of object. If object contains duplicate values, subsequent values overwrite property assignments of previous values.",
|
|
1040
|
+
"!type": "fn(object)"
|
|
1041
|
+
},
|
|
1042
|
+
invertBy: {
|
|
1043
|
+
"!url": "https://lodash.com/docs/4.17.15#invertBy",
|
|
1044
|
+
"!doc": "This method is like _.invert except that the inverted object is generated from the results of running each element of object thru iteratee. The corresponding inverted value of each inverted key is an array of keys responsible for generating the inverted value. The iteratee is invoked with one argument: (value).",
|
|
1045
|
+
"!type": "fn(object, [iteratee])"
|
|
1046
|
+
},
|
|
1047
|
+
invoke: {
|
|
1048
|
+
"!url": "https://lodash.com/docs/4.17.15#invoke",
|
|
1049
|
+
"!doc": "Invokes the method at path of object.",
|
|
1050
|
+
"!type": "fn(object, path, [args])"
|
|
1051
|
+
},
|
|
1052
|
+
keys: {
|
|
1053
|
+
"!url": "https://lodash.com/docs/4.17.15#keys",
|
|
1054
|
+
"!doc": "Creates an array of the own enumerable property names of object.Note: Non-object values are coerced to objects. See the ES spec for more details.",
|
|
1055
|
+
"!type": "fn(object)"
|
|
1056
|
+
},
|
|
1057
|
+
keysIn: {
|
|
1058
|
+
"!url": "https://lodash.com/docs/4.17.15#keysIn",
|
|
1059
|
+
"!doc": "Creates an array of the own and inherited enumerable property names of object.Note: Non-object values are coerced to objects.",
|
|
1060
|
+
"!type": "fn(object)"
|
|
1061
|
+
},
|
|
1062
|
+
mapKeys: {
|
|
1063
|
+
"!url": "https://lodash.com/docs/4.17.15#mapKeys",
|
|
1064
|
+
"!doc": "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).",
|
|
1065
|
+
"!type": "fn(object, [iteratee])"
|
|
1066
|
+
},
|
|
1067
|
+
mapValues: {
|
|
1068
|
+
"!url": "https://lodash.com/docs/4.17.15#mapValues",
|
|
1069
|
+
"!doc": "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).",
|
|
1070
|
+
"!type": "fn(object, [iteratee])"
|
|
1071
|
+
},
|
|
1072
|
+
merge: {
|
|
1073
|
+
"!url": "https://lodash.com/docs/4.17.15#merge",
|
|
1074
|
+
"!doc": "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.Note: This method mutates object.",
|
|
1075
|
+
"!type": "fn(object, [sources])"
|
|
1076
|
+
},
|
|
1077
|
+
mergeWith: {
|
|
1078
|
+
"!url": "https://lodash.com/docs/4.17.15#mergeWith",
|
|
1079
|
+
"!doc": "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).Note: This method mutates object.",
|
|
1080
|
+
"!type": "fn(object, sources, customizer)"
|
|
1081
|
+
},
|
|
1082
|
+
omit: {
|
|
1083
|
+
"!url": "https://lodash.com/docs/4.17.15#omit",
|
|
1084
|
+
"!doc": "The opposite of _.pick; this method creates an object composed of the own and inherited enumerable property paths of object that are not omitted.Note: This method is considerably slower than _.pick.",
|
|
1085
|
+
"!type": "fn(object, [paths])"
|
|
1086
|
+
},
|
|
1087
|
+
omitBy: {
|
|
1088
|
+
"!url": "https://lodash.com/docs/4.17.15#omitBy",
|
|
1089
|
+
"!doc": "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).",
|
|
1090
|
+
"!type": "fn(object, [predicate])"
|
|
1091
|
+
},
|
|
1092
|
+
pick: {
|
|
1093
|
+
"!url": "https://lodash.com/docs/4.17.15#pick",
|
|
1094
|
+
"!doc": "Creates an object composed of the picked object properties.",
|
|
1095
|
+
"!type": "fn(object, [paths])"
|
|
1096
|
+
},
|
|
1097
|
+
pickBy: {
|
|
1098
|
+
"!url": "https://lodash.com/docs/4.17.15#pickBy",
|
|
1099
|
+
"!doc": "Creates an object composed of the object properties predicate returns truthy for. The predicate is invoked with two arguments: (value, key).",
|
|
1100
|
+
"!type": "fn(object, [predicate])"
|
|
1101
|
+
},
|
|
1102
|
+
result: {
|
|
1103
|
+
"!url": "https://lodash.com/docs/4.17.15#result",
|
|
1104
|
+
"!doc": "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 result is returned.",
|
|
1105
|
+
"!type": "fn(object, path, [defaultValue])"
|
|
1106
|
+
},
|
|
1107
|
+
set: {
|
|
1108
|
+
"!url": "https://lodash.com/docs/4.17.15#set",
|
|
1109
|
+
"!doc": "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 objects are created for all other missing properties. Use _.setWith to customize path creation.Note: This method mutates object.",
|
|
1110
|
+
"!type": "fn(object, path, value)"
|
|
1111
|
+
},
|
|
1112
|
+
setWith: {
|
|
1113
|
+
"!url": "https://lodash.com/docs/4.17.15#setWith",
|
|
1114
|
+
"!doc": "This method is like _.set 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.",
|
|
1115
|
+
"!type": "fn(object, path, value, [customizer])"
|
|
1116
|
+
},
|
|
1117
|
+
toPairs: {
|
|
1118
|
+
"!url": "https://lodash.com/docs/4.17.15#toPairs",
|
|
1119
|
+
"!doc": "Creates an array of own enumerable string keyed-value pairs for object which can be consumed by _.fromPairs. If object is a map or set, its entries are returned.",
|
|
1120
|
+
"!type": "fn(object)"
|
|
1121
|
+
},
|
|
1122
|
+
toPairsIn: {
|
|
1123
|
+
"!url": "https://lodash.com/docs/4.17.15#toPairsIn",
|
|
1124
|
+
"!doc": "Creates an array of own and inherited enumerable string keyed-value pairs for object which can be consumed by _.fromPairs. If object is a map or set, its entries are returned.",
|
|
1125
|
+
"!type": "fn(object)"
|
|
1126
|
+
},
|
|
1127
|
+
transform: {
|
|
1128
|
+
"!url": "https://lodash.com/docs/4.17.15#transform",
|
|
1129
|
+
"!doc": "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.",
|
|
1130
|
+
"!type": "fn(object, [iteratee], [accumulator])"
|
|
1131
|
+
},
|
|
1132
|
+
unset: {
|
|
1133
|
+
"!url": "https://lodash.com/docs/4.17.15#unset",
|
|
1134
|
+
"!doc": "Removes the property at path of object.Note: This method mutates object.",
|
|
1135
|
+
"!type": "fn(object, path)"
|
|
1136
|
+
},
|
|
1137
|
+
update: {
|
|
1138
|
+
"!url": "https://lodash.com/docs/4.17.15#update",
|
|
1139
|
+
"!doc": "This method is like _.set except that accepts updater to produce the value to set. Use _.updateWith to customize path creation. The updater is invoked with one argument: (value).Note: This method mutates object.",
|
|
1140
|
+
"!type": "fn(object, path, updater)"
|
|
1141
|
+
},
|
|
1142
|
+
updateWith: {
|
|
1143
|
+
"!url": "https://lodash.com/docs/4.17.15#updateWith",
|
|
1144
|
+
"!doc": "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.",
|
|
1145
|
+
"!type": "fn(object, path, updater, [customizer])"
|
|
1146
|
+
},
|
|
1147
|
+
values: {
|
|
1148
|
+
"!url": "https://lodash.com/docs/4.17.15#values",
|
|
1149
|
+
"!doc": "Creates an array of the own enumerable string keyed property values of object.Note: Non-object values are coerced to objects.",
|
|
1150
|
+
"!type": "fn(object)"
|
|
1151
|
+
},
|
|
1152
|
+
valuesIn: {
|
|
1153
|
+
"!url": "https://lodash.com/docs/4.17.15#valuesIn",
|
|
1154
|
+
"!doc": "Creates an array of the own and inherited enumerable string keyed property values of object.Note: Non-object values are coerced to objects.",
|
|
1155
|
+
"!type": "fn(object)"
|
|
1156
|
+
},
|
|
1157
|
+
_: {
|
|
1158
|
+
"!url": "https://lodash.com/docs/4.17.15#lodash",
|
|
1159
|
+
"!doc": "Creates a lodash object which wraps value to enable implicit method chain sequences. Methods that operate on and return arrays, collections, and functions can be chained together. Methods that retrieve a single value or may return a primitive value will automatically end the chain sequence and return the unwrapped value. Otherwise, the value must be unwrapped with _#value.Explicit chain sequences, which must be unwrapped with _#value, may be enabled using _.chain.The execution of chained methods is lazy, that is, it's deferred until _#value is implicitly or explicitly called.Lazy evaluation allows several methods to support shortcut fusion. Shortcut fusion is an optimization to merge iteratee calls; this avoids the creation of intermediate arrays and can greatly reduce the number of iteratee executions. Sections of a chain sequence qualify for shortcut fusion if the section is applied to an array and iteratees accept only one argument. The heuristic for whether a section qualifies for shortcut fusion is subject to change.Chaining is supported in custom builds as long as the _#value method is directly or indirectly included in the build.In addition to lodash methods, wrappers have Array and String methods.The wrapper Array methods are:concat, join, pop, push, shift, sort, splice, and unshiftThe wrapper String methods are:replace and splitThe wrapper methods that support shortcut fusion are:at, compact, drop, dropRight, dropWhile, filter, find, findLast, head, initial, last, map, reject, reverse, slice, tail, take, takeRight, takeRightWhile, takeWhile, and toArrayThe chainable wrapper methods are:after, ary, assign, assignIn, assignInWith, assignWith, at, before, bind, bindAll, bindKey, castArray, chain, chunk, commit, compact, concat, conforms, constant, countBy, create, curry, debounce, defaults, defaultsDeep, defer, delay, difference, differenceBy, differenceWith, drop, dropRight, dropRightWhile, dropWhile, extend, extendWith, fill, filter, flatMap, flatMapDeep, flatMapDepth, flatten, flattenDeep, flattenDepth, flip, flow, flowRight, fromPairs, functions, functionsIn, groupBy, initial, intersection, intersectionBy, intersectionWith, invert, invertBy, invokeMap, iteratee, keyBy, keys, keysIn, map, mapKeys, mapValues, matches, matchesProperty, memoize, merge, mergeWith, method, methodOf, mixin, negate, nthArg, omit, omitBy, once, orderBy, over, overArgs, overEvery, overSome, partial, partialRight, partition, pick, pickBy, plant, property, propertyOf, pull, pullAll, pullAllBy, pullAllWith, pullAt, push, range, rangeRight, rearg, reject, remove, rest, reverse, sampleSize, set, setWith, shuffle, slice, sort, sortBy, splice, spread, tail, take, takeRight, takeRightWhile, takeWhile, tap, throttle, thru, toArray, toPairs, toPairsIn, toPath, toPlainObject, transform, unary, union, unionBy, unionWith, uniq, uniqBy, uniqWith, unset, unshift, unzip, unzipWith, update, updateWith, values, valuesIn, without, wrap, xor, xorBy, xorWith, zip, zipObject, zipObjectDeep, and zipWithThe wrapper methods that are not chainable by default are:add, attempt, camelCase, capitalize, ceil, clamp, clone, cloneDeep, cloneDeepWith, cloneWith, conformsTo, deburr, defaultTo, divide, each, eachRight, endsWith, eq, escape, escapeRegExp, every, find, findIndex, findKey, findLast, findLastIndex, findLastKey, first, floor, forEach, forEachRight, forIn, forInRight, forOwn, forOwnRight, get, gt, gte, has, hasIn, head, identity, includes, indexOf, inRange, invoke, isArguments, isArray, isArrayBuffer, isArrayLike, isArrayLikeObject, isBoolean, isBuffer, isDate, isElement, isEmpty, isEqual, isEqualWith, isError, isFinite, isFunction, isInteger, isLength, isMap, isMatch, isMatchWith, isNaN, isNative, isNil, isNull, isNumber, isObject, isObjectLike, isPlainObject, isRegExp, isSafeInteger, isSet, isString, isUndefined, isTypedArray, isWeakMap, isWeakSet, join, kebabCase, last, lastIndexOf, lowerCase, lowerFirst, lt, lte, max, maxBy, mean, meanBy, min, minBy, multiply, noConflict, noop, now, nth, pad, padEnd, padStart, parseInt, pop, random, reduce, reduceRight, repeat, result, round, runInContext, sample, shift, size, snakeCase, some, sortedIndex, sortedIndexBy, sortedLastIndex, sortedLastIndexBy, startCase, startsWith, stubArray, stubFalse, stubObject, stubString, stubTrue, subtract, sum, sumBy, template, times, toFinite, toInteger, toJSON, toLength, toLower, toNumber, toSafeInteger, toString, toUpper, trim, trimEnd, trimStart, truncate, unescape, uniqueId, upperCase, upperFirst, value, and words",
|
|
1160
|
+
"!type": "fn(value)"
|
|
1161
|
+
},
|
|
1162
|
+
chain: {
|
|
1163
|
+
"!url": "https://lodash.com/docs/4.17.15#chain",
|
|
1164
|
+
"!doc": "Creates a lodash wrapper instance that wraps value with explicit method chain sequences enabled. The result of such sequences must be unwrapped with _#value.",
|
|
1165
|
+
"!type": "fn(value)"
|
|
1166
|
+
},
|
|
1167
|
+
tap: {
|
|
1168
|
+
"!url": "https://lodash.com/docs/4.17.15#tap",
|
|
1169
|
+
"!doc": "This method invokes interceptor and returns value. The interceptor is invoked with one argument; (value). The purpose of this method is to \"tap into\" a method chain sequence in order to modify intermediate results.",
|
|
1170
|
+
"!type": "fn(value, interceptor)"
|
|
1171
|
+
},
|
|
1172
|
+
thru: {
|
|
1173
|
+
"!url": "https://lodash.com/docs/4.17.15#thru",
|
|
1174
|
+
"!doc": "This method is like _.tap except that it returns the result of interceptor. The purpose of this method is to \"pass thru\" values replacing intermediate results in a method chain sequence.",
|
|
1175
|
+
"!type": "fn(value, interceptor)"
|
|
1176
|
+
},
|
|
1177
|
+
"prototype[Symbol.iterator]": {
|
|
1178
|
+
"!url": "https://lodash.com/docs/4.17.15#prototype-Symbol-iterator",
|
|
1179
|
+
"!doc": "Enables the wrapper to be iterable.",
|
|
1180
|
+
"!type": "fn()"
|
|
1181
|
+
},
|
|
1182
|
+
"prototype.at": {
|
|
1183
|
+
"!url": "https://lodash.com/docs/4.17.15#prototype-at",
|
|
1184
|
+
"!doc": "This method is the wrapper version of _.at.",
|
|
1185
|
+
"!type": "fn([paths])"
|
|
1186
|
+
},
|
|
1187
|
+
"prototype.chain": {
|
|
1188
|
+
"!url": "https://lodash.com/docs/4.17.15#prototype-chain",
|
|
1189
|
+
"!doc": "Creates a lodash wrapper instance with explicit method chain sequences enabled.",
|
|
1190
|
+
"!type": "fn()"
|
|
1191
|
+
},
|
|
1192
|
+
"prototype.commit": {
|
|
1193
|
+
"!url": "https://lodash.com/docs/4.17.15#prototype-commit",
|
|
1194
|
+
"!doc": "Executes the chain sequence and returns the wrapped result.",
|
|
1195
|
+
"!type": "fn()"
|
|
1196
|
+
},
|
|
1197
|
+
"prototype.next": {
|
|
1198
|
+
"!url": "https://lodash.com/docs/4.17.15#prototype-next",
|
|
1199
|
+
"!doc": "Gets the next value on a wrapped object following the iterator protocol.",
|
|
1200
|
+
"!type": "fn()"
|
|
1201
|
+
},
|
|
1202
|
+
"prototype.plant": {
|
|
1203
|
+
"!url": "https://lodash.com/docs/4.17.15#prototype-plant",
|
|
1204
|
+
"!doc": "Creates a clone of the chain sequence planting value as the wrapped value.",
|
|
1205
|
+
"!type": "fn(value)"
|
|
1206
|
+
},
|
|
1207
|
+
"prototype.reverse": {
|
|
1208
|
+
"!url": "https://lodash.com/docs/4.17.15#prototype-reverse",
|
|
1209
|
+
"!doc": "This method is the wrapper version of _.reverse.Note: This method mutates the wrapped array.",
|
|
1210
|
+
"!type": "fn()"
|
|
1211
|
+
},
|
|
1212
|
+
"prototype.value": {
|
|
1213
|
+
"!url": "https://lodash.com/docs/4.17.15#prototype-value",
|
|
1214
|
+
"!doc": "Executes the chain sequence to resolve the unwrapped value.",
|
|
1215
|
+
"!type": "fn()"
|
|
1216
|
+
},
|
|
1217
|
+
camelCase: {
|
|
1218
|
+
"!url": "https://lodash.com/docs/4.17.15#camelCase",
|
|
1219
|
+
"!doc": "Converts string to camel case.",
|
|
1220
|
+
"!type": "fn([string])"
|
|
1221
|
+
},
|
|
1222
|
+
capitalize: {
|
|
1223
|
+
"!url": "https://lodash.com/docs/4.17.15#capitalize",
|
|
1224
|
+
"!doc": "Converts the first character of string to upper case and the remaining to lower case.",
|
|
1225
|
+
"!type": "fn([string])"
|
|
1226
|
+
},
|
|
1227
|
+
deburr: {
|
|
1228
|
+
"!url": "https://lodash.com/docs/4.17.15#deburr",
|
|
1229
|
+
"!doc": "Deburrs string by converting Latin-1 Supplement and Latin Extended-A letters to basic Latin letters and removing combining diacritical marks.",
|
|
1230
|
+
"!type": "fn([string])"
|
|
1231
|
+
},
|
|
1232
|
+
endsWith: {
|
|
1233
|
+
"!url": "https://lodash.com/docs/4.17.15#endsWith",
|
|
1234
|
+
"!doc": "Checks if string ends with the given target string.",
|
|
1235
|
+
"!type": "fn([string], [target], [position])"
|
|
1236
|
+
},
|
|
1237
|
+
"escape": {
|
|
1238
|
+
"!url": "https://lodash.com/docs/4.17.15#escape",
|
|
1239
|
+
"!doc": "Converts the characters \"&\", \"<\", \">\", '\"', and \"'\" in string to their corresponding HTML entities.Note: No other characters are escaped. To escape additional characters use a third-party library like he.Though the \">\" character is escaped for symmetry, characters like \">\" and \"/\" don't need escaping in HTML and have no special meaning unless they're part of a tag or unquoted attribute value. See Mathias Bynens's article (under \"semi-related fun fact\") for more details.When working with HTML you should always quote attribute values to reduce XSS vectors.",
|
|
1240
|
+
"!type": "fn([string])"
|
|
1241
|
+
},
|
|
1242
|
+
escapeRegExp: {
|
|
1243
|
+
"!url": "https://lodash.com/docs/4.17.15#escapeRegExp",
|
|
1244
|
+
"!doc": "Escapes the RegExp special characters \"^\", \"$\", \"\", \".\", \"*\", \"+\", \"?\", \"(\", \")\", \"[\", \"]\", \"{\", \"}\", and \"|\" in string.",
|
|
1245
|
+
"!type": "fn([string])"
|
|
1246
|
+
},
|
|
1247
|
+
kebabCase: {
|
|
1248
|
+
"!url": "https://lodash.com/docs/4.17.15#kebabCase",
|
|
1249
|
+
"!doc": "Converts string to kebab case.",
|
|
1250
|
+
"!type": "fn([string])"
|
|
1251
|
+
},
|
|
1252
|
+
lowerCase: {
|
|
1253
|
+
"!url": "https://lodash.com/docs/4.17.15#lowerCase",
|
|
1254
|
+
"!doc": "Converts string, as space separated words, to lower case.",
|
|
1255
|
+
"!type": "fn([string])"
|
|
1256
|
+
},
|
|
1257
|
+
lowerFirst: {
|
|
1258
|
+
"!url": "https://lodash.com/docs/4.17.15#lowerFirst",
|
|
1259
|
+
"!doc": "Converts the first character of string to lower case.",
|
|
1260
|
+
"!type": "fn([string])"
|
|
1261
|
+
},
|
|
1262
|
+
pad: {
|
|
1263
|
+
"!url": "https://lodash.com/docs/4.17.15#pad",
|
|
1264
|
+
"!doc": "Pads string on the left and right sides if it's shorter than length. Padding characters are truncated if they can't be evenly divided by length.",
|
|
1265
|
+
"!type": "fn([string], [length], [chars])"
|
|
1266
|
+
},
|
|
1267
|
+
padEnd: {
|
|
1268
|
+
"!url": "https://lodash.com/docs/4.17.15#padEnd",
|
|
1269
|
+
"!doc": "Pads string on the right side if it's shorter than length. Padding characters are truncated if they exceed length.",
|
|
1270
|
+
"!type": "fn([string], [length], [chars])"
|
|
1271
|
+
},
|
|
1272
|
+
padStart: {
|
|
1273
|
+
"!url": "https://lodash.com/docs/4.17.15#padStart",
|
|
1274
|
+
"!doc": "Pads string on the left side if it's shorter than length. Padding characters are truncated if they exceed length.",
|
|
1275
|
+
"!type": "fn([string], [length], [chars])"
|
|
1276
|
+
},
|
|
1277
|
+
"parseInt": {
|
|
1278
|
+
"!url": "https://lodash.com/docs/4.17.15#parseInt",
|
|
1279
|
+
"!doc": "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 hexadecimal, in which case a radix of 16 is used.Note: This method aligns with the ES5 implementation of parseInt.",
|
|
1280
|
+
"!type": "fn(string, [radix])"
|
|
1281
|
+
},
|
|
1282
|
+
repeat: {
|
|
1283
|
+
"!url": "https://lodash.com/docs/4.17.15#repeat",
|
|
1284
|
+
"!doc": "Repeats the given string n times.",
|
|
1285
|
+
"!type": "fn([string], [n])"
|
|
1286
|
+
},
|
|
1287
|
+
replace: {
|
|
1288
|
+
"!url": "https://lodash.com/docs/4.17.15#replace",
|
|
1289
|
+
"!doc": "Replaces matches for pattern in string with replacement.Note: This method is based on String#replace.",
|
|
1290
|
+
"!type": "fn([string], pattern, replacement)"
|
|
1291
|
+
},
|
|
1292
|
+
snakeCase: {
|
|
1293
|
+
"!url": "https://lodash.com/docs/4.17.15#snakeCase",
|
|
1294
|
+
"!doc": "Converts string to snake case.",
|
|
1295
|
+
"!type": "fn([string])"
|
|
1296
|
+
},
|
|
1297
|
+
split: {
|
|
1298
|
+
"!url": "https://lodash.com/docs/4.17.15#split",
|
|
1299
|
+
"!doc": "Splits string by separator.Note: This method is based on String#split.",
|
|
1300
|
+
"!type": "fn([string], separator, [limit])"
|
|
1301
|
+
},
|
|
1302
|
+
startCase: {
|
|
1303
|
+
"!url": "https://lodash.com/docs/4.17.15#startCase",
|
|
1304
|
+
"!doc": "Converts string to start case.",
|
|
1305
|
+
"!type": "fn([string])"
|
|
1306
|
+
},
|
|
1307
|
+
startsWith: {
|
|
1308
|
+
"!url": "https://lodash.com/docs/4.17.15#startsWith",
|
|
1309
|
+
"!doc": "Checks if string starts with the given target string.",
|
|
1310
|
+
"!type": "fn([string], [target], [position])"
|
|
1311
|
+
},
|
|
1312
|
+
template: {
|
|
1313
|
+
"!url": "https://lodash.com/docs/4.17.15#template",
|
|
1314
|
+
"!doc": "Creates a compiled template function that can interpolate data properties in \"interpolate\" delimiters, HTML-escape interpolated data properties in \"escape\" delimiters, and execute JavaScript in \"evaluate\" delimiters. Data properties may be accessed as free variables in the template. If a setting object is given, it takes precedence over _.templateSettings values.Note: In the development build _.template utilizes sourceURLs for easier debugging.For more information on precompiling templates see lodash's custom builds documentation.For more information on Chrome extension sandboxes see Chrome's extensions documentation.",
|
|
1315
|
+
"!type": "fn([string], [options])"
|
|
1316
|
+
},
|
|
1317
|
+
toLower: {
|
|
1318
|
+
"!url": "https://lodash.com/docs/4.17.15#toLower",
|
|
1319
|
+
"!doc": "Converts string, as a whole, to lower case just like String#toLowerCase.",
|
|
1320
|
+
"!type": "fn([string])"
|
|
1321
|
+
},
|
|
1322
|
+
toUpper: {
|
|
1323
|
+
"!url": "https://lodash.com/docs/4.17.15#toUpper",
|
|
1324
|
+
"!doc": "Converts string, as a whole, to upper case just like String#toUpperCase.",
|
|
1325
|
+
"!type": "fn([string])"
|
|
1326
|
+
},
|
|
1327
|
+
trim: {
|
|
1328
|
+
"!url": "https://lodash.com/docs/4.17.15#trim",
|
|
1329
|
+
"!doc": "Removes leading and trailing whitespace or specified characters from string.",
|
|
1330
|
+
"!type": "fn([string], [chars])"
|
|
1331
|
+
},
|
|
1332
|
+
trimEnd: {
|
|
1333
|
+
"!url": "https://lodash.com/docs/4.17.15#trimEnd",
|
|
1334
|
+
"!doc": "Removes trailing whitespace or specified characters from string.",
|
|
1335
|
+
"!type": "fn([string], [chars])"
|
|
1336
|
+
},
|
|
1337
|
+
trimStart: {
|
|
1338
|
+
"!url": "https://lodash.com/docs/4.17.15#trimStart",
|
|
1339
|
+
"!doc": "Removes leading whitespace or specified characters from string.",
|
|
1340
|
+
"!type": "fn([string], [chars])"
|
|
1341
|
+
},
|
|
1342
|
+
truncate: {
|
|
1343
|
+
"!url": "https://lodash.com/docs/4.17.15#truncate",
|
|
1344
|
+
"!doc": "Truncates string if it's longer than the given maximum string length. The last characters of the truncated string are replaced with the omission string which defaults to \"...\".",
|
|
1345
|
+
"!type": "fn([string], [options])"
|
|
1346
|
+
},
|
|
1347
|
+
"unescape": {
|
|
1348
|
+
"!url": "https://lodash.com/docs/4.17.15#unescape",
|
|
1349
|
+
"!doc": "The inverse of _.escape; this method converts the HTML entities &, <, >, ", and ' in string to their corresponding characters.Note: No other HTML entities are unescaped. To unescape additional HTML entities use a third-party library like he.",
|
|
1350
|
+
"!type": "fn([string])"
|
|
1351
|
+
},
|
|
1352
|
+
upperCase: {
|
|
1353
|
+
"!url": "https://lodash.com/docs/4.17.15#upperCase",
|
|
1354
|
+
"!doc": "Converts string, as space separated words, to upper case.",
|
|
1355
|
+
"!type": "fn([string])"
|
|
1356
|
+
},
|
|
1357
|
+
upperFirst: {
|
|
1358
|
+
"!url": "https://lodash.com/docs/4.17.15#upperFirst",
|
|
1359
|
+
"!doc": "Converts the first character of string to upper case.",
|
|
1360
|
+
"!type": "fn([string])"
|
|
1361
|
+
},
|
|
1362
|
+
words: {
|
|
1363
|
+
"!url": "https://lodash.com/docs/4.17.15#words",
|
|
1364
|
+
"!doc": "Splits string into an array of its words.",
|
|
1365
|
+
"!type": "fn([string], [pattern])"
|
|
1366
|
+
},
|
|
1367
|
+
attempt: {
|
|
1368
|
+
"!url": "https://lodash.com/docs/4.17.15#attempt",
|
|
1369
|
+
"!doc": "Attempts to invoke func, returning either the result or the caught error object. Any additional arguments are provided to func when it's invoked.",
|
|
1370
|
+
"!type": "fn(func, [args])"
|
|
1371
|
+
},
|
|
1372
|
+
bindAll: {
|
|
1373
|
+
"!url": "https://lodash.com/docs/4.17.15#bindAll",
|
|
1374
|
+
"!doc": "Binds methods of an object to the object itself, overwriting the existing method.Note: This method doesn't set the \"length\" property of bound functions.",
|
|
1375
|
+
"!type": "fn(object, methodNames)"
|
|
1376
|
+
},
|
|
1377
|
+
cond: {
|
|
1378
|
+
"!url": "https://lodash.com/docs/4.17.15#cond",
|
|
1379
|
+
"!doc": "Creates a function that iterates over pairs and invokes the corresponding function of the first predicate to return truthy. The predicate-function pairs are invoked with the this binding and arguments of the created function.",
|
|
1380
|
+
"!type": "fn(pairs)"
|
|
1381
|
+
},
|
|
1382
|
+
conforms: {
|
|
1383
|
+
"!url": "https://lodash.com/docs/4.17.15#conforms",
|
|
1384
|
+
"!doc": "Creates a function that invokes the predicate properties of source with the corresponding property values of a given object, returning true if all predicates return truthy, else false.Note: The created function is equivalent to _.conformsTo with source partially applied.",
|
|
1385
|
+
"!type": "fn(source)"
|
|
1386
|
+
},
|
|
1387
|
+
constant: {
|
|
1388
|
+
"!url": "https://lodash.com/docs/4.17.15#constant",
|
|
1389
|
+
"!doc": "Creates a function that returns value.",
|
|
1390
|
+
"!type": "fn(value)"
|
|
1391
|
+
},
|
|
1392
|
+
defaultTo: {
|
|
1393
|
+
"!url": "https://lodash.com/docs/4.17.15#defaultTo",
|
|
1394
|
+
"!doc": "Checks value to determine whether a default value should be returned in its place. The defaultValue is returned if value is NaN, null, or undefined.",
|
|
1395
|
+
"!type": "fn(value, defaultValue)"
|
|
1396
|
+
},
|
|
1397
|
+
flow: {
|
|
1398
|
+
"!url": "https://lodash.com/docs/4.17.15#flow",
|
|
1399
|
+
"!doc": "Creates a function that returns the result of invoking the given functions with the this binding of the created function, where each successive invocation is supplied the return value of the previous.",
|
|
1400
|
+
"!type": "fn([funcs])"
|
|
1401
|
+
},
|
|
1402
|
+
flowRight: {
|
|
1403
|
+
"!url": "https://lodash.com/docs/4.17.15#flowRight",
|
|
1404
|
+
"!doc": "This method is like _.flow except that it creates a function that invokes the given functions from right to left.",
|
|
1405
|
+
"!type": "fn([funcs])"
|
|
1406
|
+
},
|
|
1407
|
+
identity: {
|
|
1408
|
+
"!url": "https://lodash.com/docs/4.17.15#identity",
|
|
1409
|
+
"!doc": "This method returns the first argument it receives.",
|
|
1410
|
+
"!type": "fn(value)"
|
|
1411
|
+
},
|
|
1412
|
+
iteratee: {
|
|
1413
|
+
"!url": "https://lodash.com/docs/4.17.15#iteratee",
|
|
1414
|
+
"!doc": "Creates a function that invokes func with the arguments of the created function. If func is a property name, the created function returns the property value for a given element. If func is an array or object, the created function returns true for elements that contain the equivalent source properties, otherwise it returns false.",
|
|
1415
|
+
"!type": "fn([func])"
|
|
1416
|
+
},
|
|
1417
|
+
matches: {
|
|
1418
|
+
"!url": "https://lodash.com/docs/4.17.15#matches",
|
|
1419
|
+
"!doc": "Creates a function that performs a partial deep comparison between a given object and source, returning true if the given object has equivalent property values, else false.Note: The created function is equivalent to _.isMatch with source partially applied.Partial comparisons will match empty array and empty object source values against any array or object value, respectively. See _.isEqual for a list of supported value comparisons.",
|
|
1420
|
+
"!type": "fn(source)"
|
|
1421
|
+
},
|
|
1422
|
+
matchesProperty: {
|
|
1423
|
+
"!url": "https://lodash.com/docs/4.17.15#matchesProperty",
|
|
1424
|
+
"!doc": "Creates a function that performs a partial deep comparison between the value at path of a given object to srcValue, returning true if the object value is equivalent, else false.Note: Partial comparisons will match empty array and empty object srcValue values against any array or object value, respectively. See _.isEqual for a list of supported value comparisons.",
|
|
1425
|
+
"!type": "fn(path, srcValue)"
|
|
1426
|
+
},
|
|
1427
|
+
method: {
|
|
1428
|
+
"!url": "https://lodash.com/docs/4.17.15#method",
|
|
1429
|
+
"!doc": "Creates a function that invokes the method at path of a given object. Any additional arguments are provided to the invoked method.",
|
|
1430
|
+
"!type": "fn(path, [args])"
|
|
1431
|
+
},
|
|
1432
|
+
methodOf: {
|
|
1433
|
+
"!url": "https://lodash.com/docs/4.17.15#methodOf",
|
|
1434
|
+
"!doc": "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.",
|
|
1435
|
+
"!type": "fn(object, [args])"
|
|
1436
|
+
},
|
|
1437
|
+
mixin: {
|
|
1438
|
+
"!url": "https://lodash.com/docs/4.17.15#mixin",
|
|
1439
|
+
"!doc": "Adds all own enumerable string keyed function properties of a source object to the destination object. If object is a function, then methods are added to its prototype as well.Note: Use _.runInContext to create a pristine lodash function to avoid conflicts caused by modifying the original.",
|
|
1440
|
+
"!type": "fn([object], source, [options])"
|
|
1441
|
+
},
|
|
1442
|
+
noConflict: {
|
|
1443
|
+
"!url": "https://lodash.com/docs/4.17.15#noConflict",
|
|
1444
|
+
"!doc": "Reverts the _ variable to its previous value and returns a reference to the lodash function.",
|
|
1445
|
+
"!type": "fn()"
|
|
1446
|
+
},
|
|
1447
|
+
noop: {
|
|
1448
|
+
"!url": "https://lodash.com/docs/4.17.15#noop",
|
|
1449
|
+
"!doc": "This method returns undefined.",
|
|
1450
|
+
"!type": "fn()"
|
|
1451
|
+
},
|
|
1452
|
+
nthArg: {
|
|
1453
|
+
"!url": "https://lodash.com/docs/4.17.15#nthArg",
|
|
1454
|
+
"!doc": "Creates a function that gets the argument at index n. If n is negative, the nth argument from the end is returned.",
|
|
1455
|
+
"!type": "fn([n])"
|
|
1456
|
+
},
|
|
1457
|
+
over: {
|
|
1458
|
+
"!url": "https://lodash.com/docs/4.17.15#over",
|
|
1459
|
+
"!doc": "Creates a function that invokes iteratees with the arguments it receives and returns their results.",
|
|
1460
|
+
"!type": "fn([iteratees])"
|
|
1461
|
+
},
|
|
1462
|
+
overEvery: {
|
|
1463
|
+
"!url": "https://lodash.com/docs/4.17.15#overEvery",
|
|
1464
|
+
"!doc": "Creates a function that checks if all of the predicates return truthy when invoked with the arguments it receives.",
|
|
1465
|
+
"!type": "fn([predicates])"
|
|
1466
|
+
},
|
|
1467
|
+
overSome: {
|
|
1468
|
+
"!url": "https://lodash.com/docs/4.17.15#overSome",
|
|
1469
|
+
"!doc": "Creates a function that checks if any of the predicates return truthy when invoked with the arguments it receives.",
|
|
1470
|
+
"!type": "fn([predicates])"
|
|
1471
|
+
},
|
|
1472
|
+
property: {
|
|
1473
|
+
"!url": "https://lodash.com/docs/4.17.15#property",
|
|
1474
|
+
"!doc": "Creates a function that returns the value at path of a given object.",
|
|
1475
|
+
"!type": "fn(path)"
|
|
1476
|
+
},
|
|
1477
|
+
propertyOf: {
|
|
1478
|
+
"!url": "https://lodash.com/docs/4.17.15#propertyOf",
|
|
1479
|
+
"!doc": "The opposite of _.property; this method creates a function that returns the value at a given path of object.",
|
|
1480
|
+
"!type": "fn(object)"
|
|
1481
|
+
},
|
|
1482
|
+
range: {
|
|
1483
|
+
"!url": "https://lodash.com/docs/4.17.15#range",
|
|
1484
|
+
"!doc": "Creates an array of numbers (positive and/or negative) progressing from start up to, but not including, end. A step of -1 is used if a negative start is specified without an end or step. If end is not specified, it's set to start with start then set to 0.Note: JavaScript follows the IEEE-754 standard for resolving floating-point values which can produce unexpected results.",
|
|
1485
|
+
"!type": "fn([start], end, [step])"
|
|
1486
|
+
},
|
|
1487
|
+
rangeRight: {
|
|
1488
|
+
"!url": "https://lodash.com/docs/4.17.15#rangeRight",
|
|
1489
|
+
"!doc": "This method is like _.range except that it populates values in descending order.",
|
|
1490
|
+
"!type": "fn([start], end, [step])"
|
|
1491
|
+
},
|
|
1492
|
+
runInContext: {
|
|
1493
|
+
"!url": "https://lodash.com/docs/4.17.15#runInContext",
|
|
1494
|
+
"!doc": "Create a new pristine lodash function using the context object.",
|
|
1495
|
+
"!type": "fn([context])"
|
|
1496
|
+
},
|
|
1497
|
+
stubArray: {
|
|
1498
|
+
"!url": "https://lodash.com/docs/4.17.15#stubArray",
|
|
1499
|
+
"!doc": "This method returns a new empty array.",
|
|
1500
|
+
"!type": "fn()"
|
|
1501
|
+
},
|
|
1502
|
+
stubFalse: {
|
|
1503
|
+
"!url": "https://lodash.com/docs/4.17.15#stubFalse",
|
|
1504
|
+
"!doc": "This method returns false.",
|
|
1505
|
+
"!type": "fn()"
|
|
1506
|
+
},
|
|
1507
|
+
stubObject: {
|
|
1508
|
+
"!url": "https://lodash.com/docs/4.17.15#stubObject",
|
|
1509
|
+
"!doc": "This method returns a new empty object.",
|
|
1510
|
+
"!type": "fn()"
|
|
1511
|
+
},
|
|
1512
|
+
stubString: {
|
|
1513
|
+
"!url": "https://lodash.com/docs/4.17.15#stubString",
|
|
1514
|
+
"!doc": "This method returns an empty string.",
|
|
1515
|
+
"!type": "fn()"
|
|
1516
|
+
},
|
|
1517
|
+
stubTrue: {
|
|
1518
|
+
"!url": "https://lodash.com/docs/4.17.15#stubTrue",
|
|
1519
|
+
"!doc": "This method returns true.",
|
|
1520
|
+
"!type": "fn()"
|
|
1521
|
+
},
|
|
1522
|
+
times: {
|
|
1523
|
+
"!url": "https://lodash.com/docs/4.17.15#times",
|
|
1524
|
+
"!doc": "Invokes the iteratee n times, returning an array of the results of each invocation. The iteratee is invoked with one argument; (index).",
|
|
1525
|
+
"!type": "fn(n, [iteratee])"
|
|
1526
|
+
},
|
|
1527
|
+
toPath: {
|
|
1528
|
+
"!url": "https://lodash.com/docs/4.17.15#toPath",
|
|
1529
|
+
"!doc": "Converts value to a property path array.",
|
|
1530
|
+
"!type": "fn(value)"
|
|
1531
|
+
},
|
|
1532
|
+
uniqueId: {
|
|
1533
|
+
"!url": "https://lodash.com/docs/4.17.15#uniqueId",
|
|
1534
|
+
"!doc": "Generates a unique ID. If prefix is given, the ID is appended to it.",
|
|
1535
|
+
"!type": "fn([prefix])"
|
|
1536
|
+
},
|
|
1537
|
+
"": {
|
|
1538
|
+
"!url": "https://lodash.com/docs/4.17.15#templateSettings-imports-_",
|
|
1539
|
+
"!doc": "A reference to the lodash function.",
|
|
1540
|
+
"!type": "fn_.templateSettings.imports._"
|
|
1541
|
+
}
|
|
1542
|
+
};
|
|
1543
|
+
var lodashDefinitions = {
|
|
1544
|
+
"!name": "LIB/lodash",
|
|
1545
|
+
_: _
|
|
1546
|
+
};export{_,lodashDefinitions as default};//# sourceMappingURL=lodash.json.js.map
|