forked from DefinitelyTyped/DefinitelyTyped
-
Notifications
You must be signed in to change notification settings - Fork 0
/
lodash-es-tests.ts
609 lines (608 loc) · 19.7 KB
/
lodash-es-tests.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
import add from "lodash-es/add";
import after from "lodash-es/after";
import ary from "lodash-es/ary";
import assign from "lodash-es/assign";
import assignIn from "lodash-es/assignIn";
import assignInWith from "lodash-es/assignInWith";
import assignWith from "lodash-es/assignWith";
import at from "lodash-es/at";
import attempt from "lodash-es/attempt";
import before from "lodash-es/before";
import bind from "lodash-es/bind";
import bindAll from "lodash-es/bindAll";
import bindKey from "lodash-es/bindKey";
import camelCase from "lodash-es/camelCase";
import capitalize from "lodash-es/capitalize";
import castArray from "lodash-es/castArray";
import ceil from "lodash-es/ceil";
import chunk from "lodash-es/chunk";
import clamp from "lodash-es/clamp";
import clone from "lodash-es/clone";
import cloneDeep from "lodash-es/cloneDeep";
import cloneDeepWith from "lodash-es/cloneDeepWith";
import cloneWith from "lodash-es/cloneWith";
import compact from "lodash-es/compact";
import concat from "lodash-es/concat";
import cond from "lodash-es/cond";
import conforms from "lodash-es/conforms";
import conformsTo from "lodash-es/conformsTo";
import constant from "lodash-es/constant";
import countBy from "lodash-es/countBy";
import create from "lodash-es/create";
import curry from "lodash-es/curry";
import curryRight from "lodash-es/curryRight";
import debounce, { DebouncedFunc, DebounceSettings } from "lodash-es/debounce";
import deburr from "lodash-es/deburr";
import defaultTo from "lodash-es/defaultTo";
import defaults from "lodash-es/defaults";
import defaultsDeep from "lodash-es/defaultsDeep";
import defer from "lodash-es/defer";
import delay from "lodash-es/delay";
import difference from "lodash-es/difference";
import differenceBy from "lodash-es/differenceBy";
import differenceWith from "lodash-es/differenceWith";
import divide from "lodash-es/divide";
import drop from "lodash-es/drop";
import dropRight from "lodash-es/dropRight";
import dropRightWhile from "lodash-es/dropRightWhile";
import dropWhile from "lodash-es/dropWhile";
import each from "lodash-es/each";
import eachRight from "lodash-es/eachRight";
import endsWith from "lodash-es/endsWith";
import entries from "lodash-es/entries";
import entriesIn from "lodash-es/entriesIn";
import eq from "lodash-es/eq";
import escape from "lodash-es/escape";
import escapeRegExp from "lodash-es/escapeRegExp";
import every from "lodash-es/every";
import extend from "lodash-es/extend";
import extendWith from "lodash-es/extendWith";
import fill from "lodash-es/fill";
import filter from "lodash-es/filter";
import find from "lodash-es/find";
import findIndex from "lodash-es/findIndex";
import findKey from "lodash-es/findKey";
import findLast from "lodash-es/findLast";
import findLastIndex from "lodash-es/findLastIndex";
import findLastKey from "lodash-es/findLastKey";
import first from "lodash-es/first";
import flatMap from "lodash-es/flatMap";
import flatMapDeep from "lodash-es/flatMapDeep";
import flatMapDepth from "lodash-es/flatMapDepth";
import flatten from "lodash-es/flatten";
import flattenDeep from "lodash-es/flattenDeep";
import flattenDepth from "lodash-es/flattenDepth";
import flip from "lodash-es/flip";
import floor from "lodash-es/floor";
import flow from "lodash-es/flow";
import flowRight from "lodash-es/flowRight";
import forEach from "lodash-es/forEach";
import forEachRight from "lodash-es/forEachRight";
import forIn from "lodash-es/forIn";
import forInRight from "lodash-es/forInRight";
import forOwn from "lodash-es/forOwn";
import forOwnRight from "lodash-es/forOwnRight";
import fromPairs from "lodash-es/fromPairs";
import functions from "lodash-es/functions";
import functionsIn from "lodash-es/functionsIn";
import get from "lodash-es/get";
import groupBy from "lodash-es/groupBy";
import gt from "lodash-es/gt";
import gte from "lodash-es/gte";
import has from "lodash-es/has";
import hasIn from "lodash-es/hasIn";
import head from "lodash-es/head";
import identity from "lodash-es/identity";
import inRange from "lodash-es/inRange";
import includes from "lodash-es/includes";
import indexOf from "lodash-es/indexOf";
import initial from "lodash-es/initial";
import intersection from "lodash-es/intersection";
import intersectionBy from "lodash-es/intersectionBy";
import intersectionWith from "lodash-es/intersectionWith";
import invert from "lodash-es/invert";
import invertBy from "lodash-es/invertBy";
import invoke from "lodash-es/invoke";
import invokeMap from "lodash-es/invokeMap";
import isArguments from "lodash-es/isArguments";
import isArray from "lodash-es/isArray";
import isArrayBuffer from "lodash-es/isArrayBuffer";
import isArrayLike from "lodash-es/isArrayLike";
import isArrayLikeObject from "lodash-es/isArrayLikeObject";
import isBoolean from "lodash-es/isBoolean";
import isBuffer from "lodash-es/isBuffer";
import isDate from "lodash-es/isDate";
import isElement from "lodash-es/isElement";
import isEmpty from "lodash-es/isEmpty";
import isEqual from "lodash-es/isEqual";
import isEqualWith from "lodash-es/isEqualWith";
import isError from "lodash-es/isError";
import isFinite from "lodash-es/isFinite";
import isFunction from "lodash-es/isFunction";
import isInteger from "lodash-es/isInteger";
import isLength from "lodash-es/isLength";
import isMap from "lodash-es/isMap";
import isMatch from "lodash-es/isMatch";
import isMatchWith from "lodash-es/isMatchWith";
import isNaN from "lodash-es/isNaN";
import isNative from "lodash-es/isNative";
import isNil from "lodash-es/isNil";
import isNull from "lodash-es/isNull";
import isNumber from "lodash-es/isNumber";
import isObject from "lodash-es/isObject";
import isObjectLike from "lodash-es/isObjectLike";
import isPlainObject from "lodash-es/isPlainObject";
import isRegExp from "lodash-es/isRegExp";
import isSafeInteger from "lodash-es/isSafeInteger";
import isSet from "lodash-es/isSet";
import isString from "lodash-es/isString";
import isSymbol from "lodash-es/isSymbol";
import isTypedArray from "lodash-es/isTypedArray";
import isUndefined from "lodash-es/isUndefined";
import isWeakMap from "lodash-es/isWeakMap";
import isWeakSet from "lodash-es/isWeakSet";
import iteratee from "lodash-es/iteratee";
import join from "lodash-es/join";
import kebabCase from "lodash-es/kebabCase";
import keyBy from "lodash-es/keyBy";
import keys from "lodash-es/keys";
import keysIn from "lodash-es/keysIn";
import last from "lodash-es/last";
import lastIndexOf from "lodash-es/lastIndexOf";
import lowerCase from "lodash-es/lowerCase";
import lowerFirst from "lodash-es/lowerFirst";
import lt from "lodash-es/lt";
import lte from "lodash-es/lte";
import map from "lodash-es/map";
import mapKeys from "lodash-es/mapKeys";
import mapValues from "lodash-es/mapValues";
import matches from "lodash-es/matches";
import matchesProperty from "lodash-es/matchesProperty";
import max from "lodash-es/max";
import maxBy from "lodash-es/maxBy";
import mean from "lodash-es/mean";
import meanBy from "lodash-es/meanBy";
import memoize from "lodash-es/memoize";
import merge from "lodash-es/merge";
import mergeWith from "lodash-es/mergeWith";
import method from "lodash-es/method";
import methodOf from "lodash-es/methodOf";
import min from "lodash-es/min";
import minBy from "lodash-es/minBy";
import mixin from "lodash-es/mixin";
import multiply from "lodash-es/multiply";
import negate from "lodash-es/negate";
import noop from "lodash-es/noop";
import now from "lodash-es/now";
import nth from "lodash-es/nth";
import nthArg from "lodash-es/nthArg";
import omit from "lodash-es/omit";
import omitBy from "lodash-es/omitBy";
import once from "lodash-es/once";
import orderBy from "lodash-es/orderBy";
import over from "lodash-es/over";
import overArgs from "lodash-es/overArgs";
import overEvery from "lodash-es/overEvery";
import overSome from "lodash-es/overSome";
import pad from "lodash-es/pad";
import padEnd from "lodash-es/padEnd";
import padStart from "lodash-es/padStart";
import parseInt from "lodash-es/parseInt";
import partial from "lodash-es/partial";
import partialRight from "lodash-es/partialRight";
import partition from "lodash-es/partition";
import pick from "lodash-es/pick";
import pickBy from "lodash-es/pickBy";
import property from "lodash-es/property";
import propertyOf from "lodash-es/propertyOf";
import pull from "lodash-es/pull";
import pullAll from "lodash-es/pullAll";
import pullAllBy from "lodash-es/pullAllBy";
import pullAllWith from "lodash-es/pullAllWith";
import pullAt from "lodash-es/pullAt";
import random from "lodash-es/random";
import range from "lodash-es/range";
import rangeRight from "lodash-es/rangeRight";
import rearg from "lodash-es/rearg";
import reduce from "lodash-es/reduce";
import reduceRight from "lodash-es/reduceRight";
import reject from "lodash-es/reject";
import remove from "lodash-es/remove";
import repeat from "lodash-es/repeat";
import replace from "lodash-es/replace";
import rest from "lodash-es/rest";
import result from "lodash-es/result";
import reverse from "lodash-es/reverse";
import round from "lodash-es/round";
import sample from "lodash-es/sample";
import sampleSize from "lodash-es/sampleSize";
import set from "lodash-es/set";
import setWith from "lodash-es/setWith";
import shuffle from "lodash-es/shuffle";
import size from "lodash-es/size";
import slice from "lodash-es/slice";
import snakeCase from "lodash-es/snakeCase";
import some from "lodash-es/some";
import sortBy from "lodash-es/sortBy";
import sortedIndex from "lodash-es/sortedIndex";
import sortedIndexBy from "lodash-es/sortedIndexBy";
import sortedIndexOf from "lodash-es/sortedIndexOf";
import sortedLastIndex from "lodash-es/sortedLastIndex";
import sortedLastIndexBy from "lodash-es/sortedLastIndexBy";
import sortedLastIndexOf from "lodash-es/sortedLastIndexOf";
import sortedUniq from "lodash-es/sortedUniq";
import sortedUniqBy from "lodash-es/sortedUniqBy";
import split from "lodash-es/split";
import spread from "lodash-es/spread";
import startCase from "lodash-es/startCase";
import startsWith from "lodash-es/startsWith";
import stubArray from "lodash-es/stubArray";
import stubFalse from "lodash-es/stubFalse";
import stubObject from "lodash-es/stubObject";
import stubString from "lodash-es/stubString";
import stubTrue from "lodash-es/stubTrue";
import subtract from "lodash-es/subtract";
import sum from "lodash-es/sum";
import sumBy from "lodash-es/sumBy";
import tail from "lodash-es/tail";
import take from "lodash-es/take";
import takeRight from "lodash-es/takeRight";
import takeRightWhile from "lodash-es/takeRightWhile";
import takeWhile from "lodash-es/takeWhile";
import template from "lodash-es/template";
import templateSettings from "lodash-es/templateSettings";
import throttle, { ThrottleSettings } from "lodash-es/throttle";
import times from "lodash-es/times";
import toArray from "lodash-es/toArray";
import toFinite from "lodash-es/toFinite";
import toInteger from "lodash-es/toInteger";
import toLength from "lodash-es/toLength";
import toLower from "lodash-es/toLower";
import toNumber from "lodash-es/toNumber";
import toPairs from "lodash-es/toPairs";
import toPairsIn from "lodash-es/toPairsIn";
import toPath from "lodash-es/toPath";
import toPlainObject from "lodash-es/toPlainObject";
import toSafeInteger from "lodash-es/toSafeInteger";
import toString from "lodash-es/toString";
import toUpper from "lodash-es/toUpper";
import transform from "lodash-es/transform";
import trim from "lodash-es/trim";
import trimEnd from "lodash-es/trimEnd";
import trimStart from "lodash-es/trimStart";
import truncate from "lodash-es/truncate";
import unary from "lodash-es/unary";
import unescape from "lodash-es/unescape";
import union from "lodash-es/union";
import unionBy from "lodash-es/unionBy";
import unionWith from "lodash-es/unionWith";
import uniq from "lodash-es/uniq";
import uniqBy from "lodash-es/uniqBy";
import uniqWith from "lodash-es/uniqWith";
import uniqueId from "lodash-es/uniqueId";
import unset from "lodash-es/unset";
import unzip from "lodash-es/unzip";
import unzipWith from "lodash-es/unzipWith";
import update from "lodash-es/update";
import updateWith from "lodash-es/updateWith";
import upperCase from "lodash-es/upperCase";
import upperFirst from "lodash-es/upperFirst";
import values from "lodash-es/values";
import valuesIn from "lodash-es/valuesIn";
import without from "lodash-es/without";
import words from "lodash-es/words";
import wrap from "lodash-es/wrap";
import xor from "lodash-es/xor";
import xorBy from "lodash-es/xorBy";
import xorWith from "lodash-es/xorWith";
import zip from "lodash-es/zip";
import zipObject from "lodash-es/zipObject";
import zipObjectDeep from "lodash-es/zipObjectDeep";
import zipWith from "lodash-es/zipWith";
import {
add as add1,
after as after1,
ary as ary1,
assign as assign1,
assignIn as assignIn1,
assignInWith as assignInWith1,
assignWith as assignWith1,
at as at1,
attempt as attempt1,
before as before1,
bind as bind1,
bindAll as bindAll1,
bindKey as bindKey1,
camelCase as camelCase1,
capitalize as capitalize1,
castArray as castArray1,
ceil as ceil1,
chunk as chunk1,
clamp as clamp1,
clone as clone1,
cloneDeep as cloneDeep1,
cloneDeepWith as cloneDeepWith1,
cloneWith as cloneWith1,
compact as compact1,
concat as concat1,
cond as cond1,
conforms as conforms1,
conformsTo as conformsTo1,
constant as constant1,
countBy as countBy1,
create as create1,
curry as curry1,
curryRight as curryRight1,
debounce as debounce1,
DebouncedFunc as DebouncedFunc1,
DebounceSettings as DebounceSettings1,
deburr as deburr1,
defaultTo as defaultTo1,
defaults as defaults1,
defaultsDeep as defaultsDeep1,
defer as defer1,
delay as delay1,
difference as difference1,
differenceBy as differenceBy1,
differenceWith as differenceWith1,
divide as divide1,
drop as drop1,
dropRight as dropRight1,
dropRightWhile as dropRightWhile1,
dropWhile as dropWhile1,
each as each1,
eachRight as eachRight1,
endsWith as endsWith1,
entries as entries1,
entriesIn as entriesIn1,
eq as eq1,
escape as escape1,
escapeRegExp as escapeRegExp1,
every as every1,
extend as extend1,
extendWith as extendWith1,
fill as fill1,
filter as filter1,
find as find1,
findIndex as findIndex1,
findKey as findKey1,
findLast as findLast1,
findLastIndex as findLastIndex1,
findLastKey as findLastKey1,
first as first1,
flatMap as flatMap1,
flatMapDeep as flatMapDeep1,
flatMapDepth as flatMapDepth1,
flatten as flatten1,
flattenDeep as flattenDeep1,
flattenDepth as flattenDepth1,
flip as flip1,
floor as floor1,
flow as flow1,
flowRight as flowRight1,
forEach as forEach1,
forEachRight as forEachRight1,
forIn as forIn1,
forInRight as forInRight1,
forOwn as forOwn1,
forOwnRight as forOwnRight1,
fromPairs as fromPairs1,
functions as functions1,
functionsIn as functionsIn1,
get as get1,
groupBy as groupBy1,
gt as gt1,
gte as gte1,
has as has1,
hasIn as hasIn1,
head as head1,
identity as identity1,
inRange as inRange1,
includes as includes1,
indexOf as indexOf1,
initial as initial1,
intersection as intersection1,
intersectionBy as intersectionBy1,
intersectionWith as intersectionWith1,
invert as invert1,
invertBy as invertBy1,
invoke as invoke1,
invokeMap as invokeMap1,
isArguments as isArguments1,
isArray as isArray1,
isArrayBuffer as isArrayBuffer1,
isArrayLike as isArrayLike1,
isArrayLikeObject as isArrayLikeObject1,
isBoolean as isBoolean1,
isBuffer as isBuffer1,
isDate as isDate1,
isElement as isElement1,
isEmpty as isEmpty1,
isEqual as isEqual1,
isEqualWith as isEqualWith1,
isError as isError1,
isFinite as isFinite1,
isFunction as isFunction1,
isInteger as isInteger1,
isLength as isLength1,
isMap as isMap1,
isMatch as isMatch1,
isMatchWith as isMatchWith1,
isNaN as isNaN1,
isNative as isNative1,
isNil as isNil1,
isNull as isNull1,
isNumber as isNumber1,
isObject as isObject1,
isObjectLike as isObjectLike1,
isPlainObject as isPlainObject1,
isRegExp as isRegExp1,
isSafeInteger as isSafeInteger1,
isSet as isSet1,
isString as isString1,
isSymbol as isSymbol1,
isTypedArray as isTypedArray1,
isUndefined as isUndefined1,
isWeakMap as isWeakMap1,
isWeakSet as isWeakSet1,
iteratee as iteratee1,
join as join1,
kebabCase as kebabCase1,
keyBy as keyBy1,
keys as keys1,
keysIn as keysIn1,
last as last1,
lastIndexOf as lastIndexOf1,
lowerCase as lowerCase1,
lowerFirst as lowerFirst1,
lt as lt1,
lte as lte1,
map as map1,
mapKeys as mapKeys1,
mapValues as mapValues1,
matches as matches1,
matchesProperty as matchesProperty1,
max as max1,
maxBy as maxBy1,
mean as mean1,
meanBy as meanBy1,
memoize as memoize1,
merge as merge1,
mergeWith as mergeWith1,
method as method1,
methodOf as methodOf1,
min as min1,
minBy as minBy1,
mixin as mixin1,
multiply as multiply1,
negate as negate1,
noop as noop1,
now as now1,
nth as nth1,
nthArg as nthArg1,
omit as omit1,
omitBy as omitBy1,
once as once1,
orderBy as orderBy1,
over as over1,
overArgs as overArgs1,
overEvery as overEvery1,
overSome as overSome1,
pad as pad1,
padEnd as padEnd1,
padStart as padStart1,
parseInt as parseInt1,
partial as partial1,
partialRight as partialRight1,
partition as partition1,
pick as pick1,
pickBy as pickBy1,
property as property1,
propertyOf as propertyOf1,
pull as pull1,
pullAll as pullAll1,
pullAllBy as pullAllBy1,
pullAllWith as pullAllWith1,
pullAt as pullAt1,
random as random1,
range as range1,
rangeRight as rangeRight1,
rearg as rearg1,
reduce as reduce1,
reduceRight as reduceRight1,
reject as reject1,
remove as remove1,
repeat as repeat1,
replace as replace1,
rest as rest1,
result as result1,
reverse as reverse1,
round as round1,
sample as sample1,
sampleSize as sampleSize1,
set as set1,
setWith as setWith1,
shuffle as shuffle1,
size as size1,
slice as slice1,
snakeCase as snakeCase1,
some as some1,
sortBy as sortBy1,
sortedIndex as sortedIndex1,
sortedIndexBy as sortedIndexBy1,
sortedIndexOf as sortedIndexOf1,
sortedLastIndex as sortedLastIndex1,
sortedLastIndexBy as sortedLastIndexBy1,
sortedLastIndexOf as sortedLastIndexOf1,
sortedUniq as sortedUniq1,
sortedUniqBy as sortedUniqBy1,
split as split1,
spread as spread1,
startCase as startCase1,
startsWith as startsWith1,
stubArray as stubArray1,
stubFalse as stubFalse1,
stubObject as stubObject1,
stubString as stubString1,
stubTrue as stubTrue1,
subtract as subtract1,
sum as sum1,
sumBy as sumBy1,
tail as tail1,
take as take1,
takeRight as takeRight1,
takeRightWhile as takeRightWhile1,
takeWhile as takeWhile1,
tap as tap1,
template as template1,
templateSettings as templateSettings1,
throttle as throttle1,
ThrottleSettings as ThrottleSettings1,
times as times1,
toArray as toArray1,
toFinite as toFinite1,
toInteger as toInteger1,
toLength as toLength1,
toLower as toLower1,
toNumber as toNumber1,
toPairs as toPairs1,
toPairsIn as toPairsIn1,
toPath as toPath1,
toPlainObject as toPlainObject1,
toSafeInteger as toSafeInteger1,
toString as toString1,
toUpper as toUpper1,
transform as transform1,
trim as trim1,
trimEnd as trimEnd1,
trimStart as trimStart1,
truncate as truncate1,
unary as unary1,
unescape as unescape1,
union as union1,
unionBy as unionBy1,
unionWith as unionWith1,
uniq as uniq1,
uniqBy as uniqBy1,
uniqWith as uniqWith1,
uniqueId as uniqueId1,
unset as unset1,
unzip as unzip1,
unzipWith as unzipWith1,
update as update1,
updateWith as updateWith1,
upperCase as upperCase1,
upperFirst as upperFirst1,
values as values1,
valuesIn as valuesIn1,
without as without1,
words as words1,
wrap as wrap1,
xor as xor1,
xorBy as xorBy1,
xorWith as xorWith1,
zip as zip1,
zipObject as zipObject1,
zipObjectDeep as zipObjectDeep1,
zipWith as zipWith1
} from "lodash-es";