@types/lodash 4.14.100 → 4.14.104
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.
- lodash/README.md +2 -2
- lodash/common/array.d.ts +3845 -0
- lodash/common/collection.d.ts +3091 -0
- lodash/common/common.d.ts +3 -3
- lodash/{date/now.d.ts → common/date.d.ts} +3 -1
- lodash/common/function.d.ts +1367 -0
- lodash/common/lang.d.ts +1937 -0
- lodash/common/math.d.ts +536 -0
- lodash/{number/random.d.ts → common/number.d.ts} +98 -1
- lodash/common/object.d.ts +3653 -0
- lodash/common/seq.d.ts +198 -0
- lodash/common/string.d.ts +1059 -0
- lodash/common/util.d.ts +1455 -0
- lodash/index.d.ts +11 -338
- lodash/package.json +2 -7
- lodash/array/chunk.d.ts +0 -37
- lodash/array/compact.d.ts +0 -27
- lodash/array/concat.d.ts +0 -39
- lodash/array/difference.d.ts +0 -37
- lodash/array/differenceBy.d.ts +0 -243
- lodash/array/differenceWith.d.ts +0 -132
- lodash/array/drop.d.ts +0 -27
- lodash/array/dropRight.d.ts +0 -30
- lodash/array/dropRightWhile.d.ts +0 -47
- lodash/array/dropWhile.d.ts +0 -47
- lodash/array/fill.d.ts +0 -124
- lodash/array/findIndex.d.ts +0 -50
- lodash/array/findLastIndex.d.ts +0 -49
- lodash/array/first.d.ts +0 -23
- lodash/array/flatten.d.ts +0 -43
- lodash/array/flattenDeep.d.ts +0 -26
- lodash/array/flattenDepth.d.ts +0 -27
- lodash/array/fromPairs.d.ts +0 -59
- lodash/array/head.d.ts +0 -28
- lodash/array/indexOf.d.ts +0 -53
- lodash/array/initial.d.ts +0 -26
- lodash/array/intersection.d.ts +0 -33
- lodash/array/intersectionBy.d.ts +0 -134
- lodash/array/intersectionWith.d.ts +0 -133
- lodash/array/join.d.ts +0 -30
- lodash/array/last.d.ts +0 -26
- lodash/array/lastIndexOf.d.ts +0 -40
- lodash/array/nth.d.ts +0 -36
- lodash/array/pull.d.ts +0 -46
- lodash/array/pullAll.d.ts +0 -54
- lodash/array/pullAllBy.d.ts +0 -77
- lodash/array/pullAllWith.d.ts +0 -77
- lodash/array/pullAt.d.ts +0 -34
- lodash/array/remove.d.ts +0 -49
- lodash/array/reverse.d.ts +0 -27
- lodash/array/slice.d.ts +0 -40
- lodash/array/sortedIndex.d.ts +0 -45
- lodash/array/sortedIndexBy.d.ts +0 -97
- lodash/array/sortedIndexOf.d.ts +0 -42
- lodash/array/sortedLastIndex.d.ts +0 -43
- lodash/array/sortedLastIndexBy.d.ts +0 -48
- lodash/array/sortedLastIndexOf.d.ts +0 -42
- lodash/array/sortedUniq.d.ts +0 -34
- lodash/array/sortedUniqBy.d.ts +0 -66
- lodash/array/tail.d.ts +0 -26
- lodash/array/take.d.ts +0 -36
- lodash/array/takeRight.d.ts +0 -36
- lodash/array/takeRightWhile.d.ts +0 -47
- lodash/array/takeWhile.d.ts +0 -47
- lodash/array/union.d.ts +0 -33
- lodash/array/unionBy.d.ts +0 -164
- lodash/array/unionWith.d.ts +0 -103
- lodash/array/uniq.d.ts +0 -36
- lodash/array/uniqBy.d.ts +0 -71
- lodash/array/uniqWith.d.ts +0 -45
- lodash/array/unzip.d.ts +0 -27
- lodash/array/unzipWith.d.ts +0 -60
- lodash/array/without.d.ts +0 -36
- lodash/array/xor.d.ts +0 -32
- lodash/array/xorBy.d.ts +0 -104
- lodash/array/xorWith.d.ts +0 -103
- lodash/array/zip.d.ts +0 -129
- lodash/array/zipObject.d.ts +0 -58
- lodash/array/zipObjectDeep.d.ts +0 -36
- lodash/array/zipWith.d.ts +0 -187
- lodash/collection/countBy.d.ts +0 -121
- lodash/collection/each.d.ts +0 -40
- lodash/collection/eachRight.d.ts +0 -40
- lodash/collection/every.d.ts +0 -85
- lodash/collection/filter.d.ts +0 -143
- lodash/collection/find.d.ts +0 -131
- lodash/collection/findLast.d.ts +0 -121
- lodash/collection/flatMap.d.ts +0 -164
- lodash/collection/flatMapDeep.d.ts +0 -164
- lodash/collection/flatMapDepth.d.ts +0 -180
- lodash/collection/forEach.d.ts +0 -113
- lodash/collection/forEachRight.d.ts +0 -108
- lodash/collection/groupBy.d.ts +0 -121
- lodash/collection/includes.d.ts +0 -41
- lodash/collection/invokeMap.d.ts +0 -58
- lodash/collection/keyBy.d.ts +0 -121
- lodash/collection/map.d.ts +0 -180
- lodash/collection/orderBy.d.ts +0 -192
- lodash/collection/partition.d.ts +0 -72
- lodash/collection/reduce.d.ts +0 -220
- lodash/collection/reduceRight.d.ts +0 -217
- lodash/collection/reject.d.ts +0 -86
- lodash/collection/sample.d.ts +0 -74
- lodash/collection/sampleSize.d.ts +0 -60
- lodash/collection/shuffle.d.ts +0 -41
- lodash/collection/size.d.ts +0 -27
- lodash/collection/some.d.ts +0 -85
- lodash/collection/sortBy.d.ts +0 -84
- lodash/function/after.d.ts +0 -30
- lodash/function/ary.d.ts +0 -30
- lodash/function/before.d.ts +0 -32
- lodash/function/bind.d.ts +0 -50
- lodash/function/bindKey.d.ts +0 -51
- lodash/function/curry.d.ts +0 -203
- lodash/function/curryRight.d.ts +0 -132
- lodash/function/debounce.d.ts +0 -67
- lodash/function/defer.d.ts +0 -31
- lodash/function/delay.d.ts +0 -38
- lodash/function/flip.d.ts +0 -28
- lodash/function/memoize.d.ts +0 -37
- lodash/function/negate.d.ts +0 -20
- lodash/function/once.d.ts +0 -20
- lodash/function/overArgs.d.ts +0 -31
- lodash/function/partial.d.ts +0 -159
- lodash/function/partialRight.d.ts +0 -150
- lodash/function/rearg.d.ts +0 -28
- lodash/function/rest.d.ts +0 -33
- lodash/function/spread.d.ts +0 -44
- lodash/function/throttle.d.ts +0 -58
- lodash/function/unary.d.ts +0 -32
- lodash/function/wrap.d.ts +0 -61
- lodash/lang/castArray.d.ts +0 -26
- lodash/lang/clone.d.ts +0 -31
- lodash/lang/cloneDeep.d.ts +0 -26
- lodash/lang/cloneDeepWith.d.ts +0 -51
- lodash/lang/cloneWith.d.ts +0 -74
- lodash/lang/conformsTo.d.ts +0 -31
- lodash/lang/eq.d.ts +0 -55
- lodash/lang/gt.d.ts +0 -30
- lodash/lang/gte.d.ts +0 -30
- lodash/lang/isArguments.d.ts +0 -26
- lodash/lang/isArray.d.ts +0 -31
- lodash/lang/isArrayBuffer.d.ts +0 -26
- lodash/lang/isArrayLike.d.ts +0 -52
- lodash/lang/isArrayLikeObject.d.ts +0 -53
- lodash/lang/isBoolean.d.ts +0 -26
- lodash/lang/isBuffer.d.ts +0 -26
- lodash/lang/isDate.d.ts +0 -26
- lodash/lang/isElement.d.ts +0 -26
- lodash/lang/isEmpty.d.ts +0 -27
- lodash/lang/isEqual.d.ts +0 -52
- lodash/lang/isEqualWith.d.ts +0 -61
- lodash/lang/isError.d.ts +0 -27
- lodash/lang/isFinite.d.ts +0 -28
- lodash/lang/isFunction.d.ts +0 -26
- lodash/lang/isInteger.d.ts +0 -42
- lodash/lang/isLength.d.ts +0 -42
- lodash/lang/isMap.d.ts +0 -26
- lodash/lang/isMatch.d.ts +0 -42
- lodash/lang/isMatchWith.d.ts +0 -51
- lodash/lang/isNaN.d.ts +0 -28
- lodash/lang/isNative.d.ts +0 -26
- lodash/lang/isNil.d.ts +0 -37
- lodash/lang/isNull.d.ts +0 -26
- lodash/lang/isNumber.d.ts +0 -28
- lodash/lang/isObject.d.ts +0 -27
- lodash/lang/isObjectLike.d.ts +0 -41
- lodash/lang/isPlainObject.d.ts +0 -29
- lodash/lang/isRegExp.d.ts +0 -26
- lodash/lang/isSafeInteger.d.ts +0 -43
- lodash/lang/isSet.d.ts +0 -26
- lodash/lang/isString.d.ts +0 -26
- lodash/lang/isSymbol.d.ts +0 -34
- lodash/lang/isTypedArray.d.ts +0 -26
- lodash/lang/isUndefined.d.ts +0 -26
- lodash/lang/isWeakMap.d.ts +0 -26
- lodash/lang/isWeakSet.d.ts +0 -26
- lodash/lang/lt.d.ts +0 -30
- lodash/lang/lte.d.ts +0 -30
- lodash/lang/toArray.d.ts +0 -46
- lodash/lang/toFinite.d.ts +0 -41
- lodash/lang/toInteger.d.ts +0 -42
- lodash/lang/toLength.d.ts +0 -43
- lodash/lang/toNumber.d.ts +0 -40
- lodash/lang/toPlainObject.d.ts +0 -27
- lodash/lang/toSafeInteger.d.ts +0 -41
- lodash/lang/toString.d.ts +0 -24
- lodash/math/add.d.ts +0 -30
- lodash/math/ceil.d.ts +0 -30
- lodash/math/divide.d.ts +0 -30
- lodash/math/floor.d.ts +0 -30
- lodash/math/max.d.ts +0 -30
- lodash/math/maxBy.d.ts +0 -49
- lodash/math/mean.d.ts +0 -33
- lodash/math/meanBy.d.ts +0 -41
- lodash/math/min.d.ts +0 -30
- lodash/math/minBy.d.ts +0 -49
- lodash/math/multiply.d.ts +0 -29
- lodash/math/round.d.ts +0 -30
- lodash/math/subtract.d.ts +0 -39
- lodash/math/sum.d.ts +0 -31
- lodash/math/sumBy.d.ts +0 -53
- lodash/number/clamp.d.ts +0 -56
- lodash/number/inRange.d.ts +0 -39
- lodash/object/assign.d.ts +0 -172
- lodash/object/assignIn.d.ts +0 -171
- lodash/object/assignInWith.d.ts +0 -183
- lodash/object/assignWith.d.ts +0 -180
- lodash/object/at.d.ts +0 -61
- lodash/object/create.d.ts +0 -31
- lodash/object/defaults.d.ts +0 -155
- lodash/object/defaultsDeep.d.ts +0 -28
- lodash/object/entries.d.ts +0 -38
- lodash/object/entriesIn.d.ts +0 -38
- lodash/object/extend.d.ts +0 -147
- lodash/object/extendWith.d.ts +0 -159
- lodash/object/findKey.d.ts +0 -47
- lodash/object/findLastKey.d.ts +0 -46
- lodash/object/forIn.d.ts +0 -37
- lodash/object/forInRight.d.ts +0 -35
- lodash/object/forOwn.d.ts +0 -37
- lodash/object/forOwnRight.d.ts +0 -35
- lodash/object/functions.d.ts +0 -39
- lodash/object/functionsIn.d.ts +0 -39
- lodash/object/get.d.ts +0 -238
- lodash/object/has.d.ts +0 -47
- lodash/object/hasIn.d.ts +0 -46
- lodash/object/invert.d.ts +0 -30
- lodash/object/invertBy.d.ts +0 -62
- lodash/object/invoke.d.ts +0 -33
- lodash/object/keys.d.ts +0 -28
- lodash/object/keysIn.d.ts +0 -28
- lodash/object/mapKeys.d.ts +0 -86
- lodash/object/mapValues.d.ts +0 -189
- lodash/object/merge.d.ts +0 -156
- lodash/object/mergeWith.d.ts +0 -133
- lodash/object/omit.d.ts +0 -69
- lodash/object/omitBy.d.ts +0 -45
- lodash/object/pick.d.ts +0 -68
- lodash/object/pickBy.d.ts +0 -44
- lodash/object/result.d.ts +0 -39
- lodash/object/set.d.ts +0 -65
- lodash/object/setWith.d.ts +0 -71
- lodash/object/toPairs.d.ts +0 -41
- lodash/object/toPairsIn.d.ts +0 -41
- lodash/object/transform.d.ts +0 -163
- lodash/object/unset.d.ts +0 -32
- lodash/object/update.d.ts +0 -39
- lodash/object/updateWith.d.ts +0 -83
- lodash/object/values.d.ts +0 -56
- lodash/object/valuesIn.d.ts +0 -41
- lodash/seq/chain.d.ts +0 -26
- lodash/seq/prototype.at.d.ts +0 -12
- lodash/seq/prototype.chain.d.ts +0 -26
- lodash/seq/prototype.commit.d.ts +0 -11
- lodash/seq/prototype.plant.d.ts +0 -18
- lodash/seq/prototype.reverse.d.ts +0 -14
- lodash/seq/prototype.toJSON.d.ts +0 -9
- lodash/seq/prototype.toString.d.ts +0 -11
- lodash/seq/prototype.value.d.ts +0 -13
- lodash/seq/prototype.valueOf.d.ts +0 -9
- lodash/seq/tap.d.ts +0 -28
- lodash/seq/thru.d.ts +0 -31
- lodash/string/camelCase.d.ts +0 -26
- lodash/string/capitalize.d.ts +0 -26
- lodash/string/deburr.d.ts +0 -27
- lodash/string/endsWith.d.ts +0 -38
- lodash/string/escape.d.ts +0 -37
- lodash/string/escapeRegExp.d.ts +0 -27
- lodash/string/kebabCase.d.ts +0 -26
- lodash/string/lowerCase.d.ts +0 -26
- lodash/string/lowerFirst.d.ts +0 -26
- lodash/string/pad.d.ts +0 -39
- lodash/string/padEnd.d.ts +0 -39
- lodash/string/padStart.d.ts +0 -39
- lodash/string/parseInt.d.ts +0 -33
- lodash/string/repeat.d.ts +0 -32
- lodash/string/replace.d.ts +0 -59
- lodash/string/snakeCase.d.ts +0 -26
- lodash/string/split.d.ts +0 -56
- lodash/string/startCase.d.ts +0 -26
- lodash/string/startsWith.d.ts +0 -38
- lodash/string/template.d.ts +0 -61
- lodash/string/toLower.d.ts +0 -26
- lodash/string/toUpper.d.ts +0 -26
- lodash/string/trim.d.ts +0 -44
- lodash/string/trimEnd.d.ts +0 -44
- lodash/string/trimStart.d.ts +0 -44
- lodash/string/truncate.d.ts +0 -40
- lodash/string/unescape.d.ts +0 -30
- lodash/string/upperCase.d.ts +0 -26
- lodash/string/upperFirst.d.ts +0 -26
- lodash/string/words.d.ts +0 -44
- lodash/util/attempt.d.ts +0 -27
- lodash/util/bindAll.d.ts +0 -28
- lodash/util/cond.d.ts +0 -33
- lodash/util/conforms.d.ts +0 -28
- lodash/util/constant.d.ts +0 -26
- lodash/util/defaultTo.d.ts +0 -53
- lodash/util/flow.d.ts +0 -171
- lodash/util/flowRight.d.ts +0 -156
- lodash/util/identity.d.ts +0 -31
- lodash/util/iteratee.d.ts +0 -58
- lodash/util/matches.d.ts +0 -36
- lodash/util/matchesProperty.d.ts +0 -59
- lodash/util/method.d.ts +0 -31
- lodash/util/methodOf.d.ts +0 -35
- lodash/util/mixin.d.ts +0 -69
- lodash/util/noConflict.d.ts +0 -25
- lodash/util/noop.d.ts +0 -25
- lodash/util/nthArg.d.ts +0 -26
- lodash/util/over.d.ts +0 -33
- lodash/util/overEvery.d.ts +0 -27
- lodash/util/overSome.d.ts +0 -27
- lodash/util/property.d.ts +0 -26
- lodash/util/propertyOf.d.ts +0 -27
- lodash/util/range.d.ts +0 -56
- lodash/util/rangeRight.d.ts +0 -77
- lodash/util/runInContext.d.ts +0 -19
- lodash/util/stubArray.d.ts +0 -25
- lodash/util/stubFalse.d.ts +0 -25
- lodash/util/stubObject.d.ts +0 -25
- lodash/util/stubString.d.ts +0 -25
- lodash/util/stubTrue.d.ts +0 -25
- lodash/util/times.d.ts +0 -50
- lodash/util/toPath.d.ts +0 -43
- lodash/util/uniqueId.d.ts +0 -26
lodash/array/unionBy.d.ts
DELETED
|
@@ -1,164 +0,0 @@
|
|
|
1
|
-
import * as _ from "../index";
|
|
2
|
-
declare module "../index" {
|
|
3
|
-
interface LoDashStatic {
|
|
4
|
-
/**
|
|
5
|
-
* This method is like `_.union` except that it accepts `iteratee` which is
|
|
6
|
-
* invoked for each element of each `arrays` to generate the criterion by which
|
|
7
|
-
* uniqueness is computed. The iteratee is invoked with one argument: (value).
|
|
8
|
-
*
|
|
9
|
-
* @param arrays The arrays to inspect.
|
|
10
|
-
* @param iteratee The iteratee invoked per element.
|
|
11
|
-
* @return Returns the new array of combined values.
|
|
12
|
-
*/
|
|
13
|
-
unionBy<T>(
|
|
14
|
-
arrays: List<T> | null | undefined,
|
|
15
|
-
iteratee?: ValueIteratee<T>
|
|
16
|
-
): T[];
|
|
17
|
-
|
|
18
|
-
/**
|
|
19
|
-
* @see _.unionBy
|
|
20
|
-
*/
|
|
21
|
-
unionBy<T>(
|
|
22
|
-
arrays1: List<T> | null | undefined,
|
|
23
|
-
arrays2: List<T> | null | undefined,
|
|
24
|
-
iteratee?: ValueIteratee<T>
|
|
25
|
-
): T[];
|
|
26
|
-
|
|
27
|
-
/**
|
|
28
|
-
* @see _.unionBy
|
|
29
|
-
*/
|
|
30
|
-
unionBy<T>(
|
|
31
|
-
arrays1: List<T> | null | undefined,
|
|
32
|
-
arrays2: List<T> | null | undefined,
|
|
33
|
-
arrays3: List<T> | null | undefined,
|
|
34
|
-
iteratee?: ValueIteratee<T>
|
|
35
|
-
): T[];
|
|
36
|
-
|
|
37
|
-
/**
|
|
38
|
-
* @see _.unionBy
|
|
39
|
-
*/
|
|
40
|
-
unionBy<T>(
|
|
41
|
-
arrays1: List<T> | null | undefined,
|
|
42
|
-
arrays2: List<T> | null | undefined,
|
|
43
|
-
arrays3: List<T> | null | undefined,
|
|
44
|
-
arrays4: List<T> | null | undefined,
|
|
45
|
-
iteratee?: ValueIteratee<T>
|
|
46
|
-
): T[];
|
|
47
|
-
|
|
48
|
-
/**
|
|
49
|
-
* @see _.unionBy
|
|
50
|
-
*/
|
|
51
|
-
unionBy<T>(
|
|
52
|
-
arrays1: List<T> | null | undefined,
|
|
53
|
-
arrays2: List<T> | null | undefined,
|
|
54
|
-
arrays3: List<T> | null | undefined,
|
|
55
|
-
arrays4: List<T> | null | undefined,
|
|
56
|
-
arrays5: List<T> | null | undefined,
|
|
57
|
-
...iteratee: Array<ValueIteratee<T> | List<T> | null | undefined>
|
|
58
|
-
): T[];
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
interface LoDashImplicitWrapper<TValue> {
|
|
62
|
-
/**
|
|
63
|
-
* @see _.unionBy
|
|
64
|
-
*/
|
|
65
|
-
unionBy<T>(
|
|
66
|
-
this: LoDashImplicitWrapper<List<T> | null | undefined>,
|
|
67
|
-
iteratee?: ValueIteratee<T>
|
|
68
|
-
): LoDashImplicitWrapper<T[]>;
|
|
69
|
-
|
|
70
|
-
/**
|
|
71
|
-
* @see _.unionBy
|
|
72
|
-
*/
|
|
73
|
-
unionBy<T>(
|
|
74
|
-
this: LoDashImplicitWrapper<List<T> | null | undefined>,
|
|
75
|
-
arrays2: List<T> | null | undefined,
|
|
76
|
-
iteratee?: ValueIteratee<T>
|
|
77
|
-
): LoDashImplicitWrapper<T[]>;
|
|
78
|
-
|
|
79
|
-
/**
|
|
80
|
-
* @see _.unionBy
|
|
81
|
-
*/
|
|
82
|
-
unionBy<T>(
|
|
83
|
-
this: LoDashImplicitWrapper<List<T> | null | undefined>,
|
|
84
|
-
arrays2: List<T> | null | undefined,
|
|
85
|
-
arrays3: List<T> | null | undefined,
|
|
86
|
-
iteratee?: ValueIteratee<T>
|
|
87
|
-
): LoDashImplicitWrapper<T[]>;
|
|
88
|
-
|
|
89
|
-
/**
|
|
90
|
-
* @see _.unionBy
|
|
91
|
-
*/
|
|
92
|
-
unionBy<T>(
|
|
93
|
-
this: LoDashImplicitWrapper<List<T> | null | undefined>,
|
|
94
|
-
arrays2: List<T> | null | undefined,
|
|
95
|
-
arrays3: List<T> | null | undefined,
|
|
96
|
-
arrays4: List<T> | null | undefined,
|
|
97
|
-
iteratee?: ValueIteratee<T>
|
|
98
|
-
): LoDashImplicitWrapper<T[]>;
|
|
99
|
-
|
|
100
|
-
/**
|
|
101
|
-
* @see _.unionBy
|
|
102
|
-
*/
|
|
103
|
-
unionBy<T>(
|
|
104
|
-
this: LoDashImplicitWrapper<List<T> | null | undefined>,
|
|
105
|
-
arrays2: List<T> | null | undefined,
|
|
106
|
-
arrays3: List<T> | null | undefined,
|
|
107
|
-
arrays4: List<T> | null | undefined,
|
|
108
|
-
arrays5: List<T> | null | undefined,
|
|
109
|
-
...iteratee: Array<ValueIteratee<T> | List<T> | null | undefined>
|
|
110
|
-
): LoDashImplicitWrapper<T[]>;
|
|
111
|
-
}
|
|
112
|
-
|
|
113
|
-
interface LoDashExplicitWrapper<TValue> {
|
|
114
|
-
/**
|
|
115
|
-
* @see _.unionBy
|
|
116
|
-
*/
|
|
117
|
-
unionBy<T>(
|
|
118
|
-
this: LoDashExplicitWrapper<List<T> | null | undefined>,
|
|
119
|
-
iteratee?: ValueIteratee<T>
|
|
120
|
-
): LoDashExplicitWrapper<T[]>;
|
|
121
|
-
|
|
122
|
-
/**
|
|
123
|
-
* @see _.unionBy
|
|
124
|
-
*/
|
|
125
|
-
unionBy<T>(
|
|
126
|
-
this: LoDashExplicitWrapper<List<T> | null | undefined>,
|
|
127
|
-
arrays2: List<T> | null | undefined,
|
|
128
|
-
iteratee?: ValueIteratee<T>
|
|
129
|
-
): LoDashExplicitWrapper<T[]>;
|
|
130
|
-
|
|
131
|
-
/**
|
|
132
|
-
* @see _.unionBy
|
|
133
|
-
*/
|
|
134
|
-
unionBy<T>(
|
|
135
|
-
this: LoDashExplicitWrapper<List<T> | null | undefined>,
|
|
136
|
-
arrays2: List<T> | null | undefined,
|
|
137
|
-
arrays3: List<T> | null | undefined,
|
|
138
|
-
iteratee?: ValueIteratee<T>
|
|
139
|
-
): LoDashExplicitWrapper<T[]>;
|
|
140
|
-
|
|
141
|
-
/**
|
|
142
|
-
* @see _.unionBy
|
|
143
|
-
*/
|
|
144
|
-
unionBy<T>(
|
|
145
|
-
this: LoDashExplicitWrapper<List<T> | null | undefined>,
|
|
146
|
-
arrays2: List<T> | null | undefined,
|
|
147
|
-
arrays3: List<T> | null | undefined,
|
|
148
|
-
arrays4: List<T> | null | undefined,
|
|
149
|
-
iteratee?: ValueIteratee<T>
|
|
150
|
-
): LoDashExplicitWrapper<T[]>;
|
|
151
|
-
|
|
152
|
-
/**
|
|
153
|
-
* @see _.unionBy
|
|
154
|
-
*/
|
|
155
|
-
unionBy<T>(
|
|
156
|
-
this: LoDashExplicitWrapper<List<T> | null | undefined>,
|
|
157
|
-
arrays2: List<T> | null | undefined,
|
|
158
|
-
arrays3: List<T> | null | undefined,
|
|
159
|
-
arrays4: List<T> | null | undefined,
|
|
160
|
-
arrays5: List<T> | null | undefined,
|
|
161
|
-
...iteratee: Array<ValueIteratee<T> | List<T> | null | undefined>
|
|
162
|
-
): LoDashExplicitWrapper<T[]>;
|
|
163
|
-
}
|
|
164
|
-
}
|
lodash/array/unionWith.d.ts
DELETED
|
@@ -1,103 +0,0 @@
|
|
|
1
|
-
import * as _ from "../index";
|
|
2
|
-
declare module "../index" {
|
|
3
|
-
interface LoDashStatic {
|
|
4
|
-
/**
|
|
5
|
-
* This method is like `_.union` except that it accepts `comparator` which
|
|
6
|
-
* is invoked to compare elements of `arrays`. The comparator is invoked
|
|
7
|
-
* with two arguments: (arrVal, othVal).
|
|
8
|
-
*
|
|
9
|
-
* @category Array
|
|
10
|
-
* @param [arrays] The arrays to inspect.
|
|
11
|
-
* @param [comparator] The comparator invoked per element.
|
|
12
|
-
* @returns Returns the new array of combined values.
|
|
13
|
-
* @example
|
|
14
|
-
*
|
|
15
|
-
* var objects = [{ 'x': 1, 'y': 2 }, { 'x': 2, 'y': 1 }];
|
|
16
|
-
* var others = [{ 'x': 1, 'y': 1 }, { 'x': 1, 'y': 2 }];
|
|
17
|
-
*
|
|
18
|
-
* _.unionWith(objects, others, _.isEqual);
|
|
19
|
-
* // => [{ 'x': 1, 'y': 2 }, { 'x': 2, 'y': 1 }, { 'x': 1, 'y': 1 }]
|
|
20
|
-
*/
|
|
21
|
-
unionWith<T>(
|
|
22
|
-
arrays: List<T> | null | undefined,
|
|
23
|
-
comparator?: Comparator<T>
|
|
24
|
-
): T[];
|
|
25
|
-
|
|
26
|
-
/**
|
|
27
|
-
* @see _.unionBy
|
|
28
|
-
*/
|
|
29
|
-
unionWith<T>(
|
|
30
|
-
arrays: List<T> | null | undefined,
|
|
31
|
-
arrays2: List<T> | null | undefined,
|
|
32
|
-
comparator?: Comparator<T>
|
|
33
|
-
): T[];
|
|
34
|
-
|
|
35
|
-
/**
|
|
36
|
-
* @see _.unionWith
|
|
37
|
-
*/
|
|
38
|
-
unionWith<T>(
|
|
39
|
-
arrays: List<T> | null | undefined,
|
|
40
|
-
arrays2: List<T> | null | undefined,
|
|
41
|
-
arrays3: List<T> | null | undefined,
|
|
42
|
-
...comparator: Array<Comparator<T> | List<T> | null | undefined>
|
|
43
|
-
): T[];
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
interface LoDashImplicitWrapper<TValue> {
|
|
47
|
-
/**
|
|
48
|
-
* @see _.unionWith
|
|
49
|
-
*/
|
|
50
|
-
unionWith<T>(
|
|
51
|
-
this: LoDashImplicitWrapper<List<T> | null | undefined>,
|
|
52
|
-
comparator?: Comparator<T>
|
|
53
|
-
): LoDashImplicitWrapper<T[]>;
|
|
54
|
-
|
|
55
|
-
/**
|
|
56
|
-
* @see _.unionWith
|
|
57
|
-
*/
|
|
58
|
-
unionWith<T>(
|
|
59
|
-
this: LoDashImplicitWrapper<List<T> | null | undefined>,
|
|
60
|
-
arrays2: List<T> | null | undefined,
|
|
61
|
-
comparator?: Comparator<T>
|
|
62
|
-
): LoDashImplicitWrapper<T[]>;
|
|
63
|
-
|
|
64
|
-
/**
|
|
65
|
-
* @see _.unionWith
|
|
66
|
-
*/
|
|
67
|
-
unionWith<T>(
|
|
68
|
-
this: LoDashImplicitWrapper<List<T> | null | undefined>,
|
|
69
|
-
arrays2: List<T> | null | undefined,
|
|
70
|
-
arrays3: List<T> | null | undefined,
|
|
71
|
-
...comparator: Array<Comparator<T> | List<T> | null | undefined>
|
|
72
|
-
): LoDashImplicitWrapper<T[]>;
|
|
73
|
-
}
|
|
74
|
-
|
|
75
|
-
interface LoDashExplicitWrapper<TValue> {
|
|
76
|
-
/**
|
|
77
|
-
* @see _.unionWith
|
|
78
|
-
*/
|
|
79
|
-
unionWith<T>(
|
|
80
|
-
this: LoDashExplicitWrapper<List<T> | null | undefined>,
|
|
81
|
-
comparator?: Comparator<T>
|
|
82
|
-
): LoDashExplicitWrapper<T[]>;
|
|
83
|
-
|
|
84
|
-
/**
|
|
85
|
-
* @see _.unionWith
|
|
86
|
-
*/
|
|
87
|
-
unionWith<T>(
|
|
88
|
-
this: LoDashExplicitWrapper<List<T> | null | undefined>,
|
|
89
|
-
arrays2: List<T> | null | undefined,
|
|
90
|
-
comparator?: Comparator<T>
|
|
91
|
-
): LoDashExplicitWrapper<T[]>;
|
|
92
|
-
|
|
93
|
-
/**
|
|
94
|
-
* @see _.unionWith
|
|
95
|
-
*/
|
|
96
|
-
unionWith<T>(
|
|
97
|
-
this: LoDashExplicitWrapper<List<T> | null | undefined>,
|
|
98
|
-
arrays2: List<T> | null | undefined,
|
|
99
|
-
arrays3: List<T> | null | undefined,
|
|
100
|
-
...comparator: Array<Comparator<T> | List<T> | null | undefined>
|
|
101
|
-
): LoDashExplicitWrapper<T[]>;
|
|
102
|
-
}
|
|
103
|
-
}
|
lodash/array/uniq.d.ts
DELETED
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
import * as _ from "../index";
|
|
2
|
-
declare module "../index" {
|
|
3
|
-
interface LoDashStatic {
|
|
4
|
-
/**
|
|
5
|
-
* Creates a duplicate-free version of an array, using
|
|
6
|
-
* [`SameValueZero`](http://ecma-international.org/ecma-262/6.0/#sec-samevaluezero)
|
|
7
|
-
* for equality comparisons, in which only the first occurrence of each element
|
|
8
|
-
* is kept.
|
|
9
|
-
*
|
|
10
|
-
* @category Array
|
|
11
|
-
* @param array The array to inspect.
|
|
12
|
-
* @returns Returns the new duplicate free array.
|
|
13
|
-
* @example
|
|
14
|
-
*
|
|
15
|
-
* _.uniq([2, 1, 2]);
|
|
16
|
-
* // => [2, 1]
|
|
17
|
-
*/
|
|
18
|
-
uniq<T>(
|
|
19
|
-
array: List<T> | null | undefined
|
|
20
|
-
): T[];
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
interface LoDashImplicitWrapper<TValue> {
|
|
24
|
-
/**
|
|
25
|
-
* @see _.uniq
|
|
26
|
-
*/
|
|
27
|
-
uniq<T>(this: LoDashImplicitWrapper<List<T> | null | undefined>): LoDashImplicitWrapper<T[]>;
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
interface LoDashExplicitWrapper<TValue> {
|
|
31
|
-
/**
|
|
32
|
-
* @see _.uniq
|
|
33
|
-
*/
|
|
34
|
-
uniq<T>(this: LoDashExplicitWrapper<List<T> | null | undefined>): LoDashExplicitWrapper<T[]>;
|
|
35
|
-
}
|
|
36
|
-
}
|
lodash/array/uniqBy.d.ts
DELETED
|
@@ -1,71 +0,0 @@
|
|
|
1
|
-
import * as _ from "../index";
|
|
2
|
-
declare module "../index" {
|
|
3
|
-
interface LoDashStatic {
|
|
4
|
-
/**
|
|
5
|
-
* This method is like `_.uniq` except that it accepts `iteratee` which is
|
|
6
|
-
* invoked for each element in `array` to generate the criterion by which
|
|
7
|
-
* uniqueness is computed. The iteratee is invoked with one argument: (value).
|
|
8
|
-
*
|
|
9
|
-
* @category Array
|
|
10
|
-
* @param array The array to inspect.
|
|
11
|
-
* @param [iteratee=_.identity] The iteratee invoked per element.
|
|
12
|
-
* @returns Returns the new duplicate free array.
|
|
13
|
-
* @example
|
|
14
|
-
*
|
|
15
|
-
* _.uniqBy([2.1, 1.2, 2.3], Math.floor);
|
|
16
|
-
* // => [2.1, 1.2]
|
|
17
|
-
*
|
|
18
|
-
* // using the `_.property` iteratee shorthand
|
|
19
|
-
* _.uniqBy([{ 'x': 1 }, { 'x': 2 }, { 'x': 1 }], 'x');
|
|
20
|
-
* // => [{ 'x': 1 }, { 'x': 2 }]
|
|
21
|
-
*/
|
|
22
|
-
uniqBy(
|
|
23
|
-
array: string | null | undefined,
|
|
24
|
-
iteratee: StringIterator<NotVoid>
|
|
25
|
-
): string[];
|
|
26
|
-
|
|
27
|
-
/**
|
|
28
|
-
* @see _.uniqBy
|
|
29
|
-
*/
|
|
30
|
-
uniqBy<T>(
|
|
31
|
-
array: List<T> | null | undefined,
|
|
32
|
-
iteratee: ListIteratee<T>
|
|
33
|
-
): T[];
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
interface LoDashImplicitWrapper<TValue> {
|
|
37
|
-
/**
|
|
38
|
-
* @see _.uniqBy
|
|
39
|
-
*/
|
|
40
|
-
uniqBy(
|
|
41
|
-
this: LoDashImplicitWrapper<string | null | undefined>,
|
|
42
|
-
iteratee: StringIterator<NotVoid>
|
|
43
|
-
): LoDashImplicitWrapper<string[]>;
|
|
44
|
-
|
|
45
|
-
/**
|
|
46
|
-
* @see _.uniqBy
|
|
47
|
-
*/
|
|
48
|
-
uniqBy<T>(
|
|
49
|
-
this: LoDashImplicitWrapper<List<T> | null | undefined>,
|
|
50
|
-
iteratee: ListIteratee<T>
|
|
51
|
-
): LoDashImplicitWrapper<T[]>;
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
interface LoDashExplicitWrapper<TValue> {
|
|
55
|
-
/**
|
|
56
|
-
* @see _.uniqBy
|
|
57
|
-
*/
|
|
58
|
-
uniqBy(
|
|
59
|
-
this: LoDashExplicitWrapper<string | null | undefined>,
|
|
60
|
-
iteratee: StringIterator<NotVoid>
|
|
61
|
-
): LoDashExplicitWrapper<string[]>;
|
|
62
|
-
|
|
63
|
-
/**
|
|
64
|
-
* @see _.uniqBy
|
|
65
|
-
*/
|
|
66
|
-
uniqBy<T>(
|
|
67
|
-
this: LoDashExplicitWrapper<List<T> | null | undefined>,
|
|
68
|
-
iteratee: ListIteratee<T>
|
|
69
|
-
): LoDashExplicitWrapper<T[]>;
|
|
70
|
-
}
|
|
71
|
-
}
|
lodash/array/uniqWith.d.ts
DELETED
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
import * as _ from "../index";
|
|
2
|
-
declare module "../index" {
|
|
3
|
-
interface LoDashStatic {
|
|
4
|
-
/**
|
|
5
|
-
* This method is like `_.uniq` except that it accepts `comparator` which
|
|
6
|
-
* is invoked to compare elements of `array`. The comparator is invoked with
|
|
7
|
-
* two arguments: (arrVal, othVal).
|
|
8
|
-
*
|
|
9
|
-
* @category Array
|
|
10
|
-
* @param array The array to inspect.
|
|
11
|
-
* @param [comparator] The comparator invoked per element.
|
|
12
|
-
* @returns Returns the new duplicate free array.
|
|
13
|
-
* @example
|
|
14
|
-
*
|
|
15
|
-
* var objects = [{ 'x': 1, 'y': 2 }, { 'x': 2, 'y': 1 }, { 'x': 1, 'y': 2 }];
|
|
16
|
-
*
|
|
17
|
-
* _.uniqWith(objects, _.isEqual);
|
|
18
|
-
* // => [{ 'x': 1, 'y': 2 }, { 'x': 2, 'y': 1 }]
|
|
19
|
-
*/
|
|
20
|
-
uniqWith<T>(
|
|
21
|
-
array: List<T> | null | undefined,
|
|
22
|
-
comparator?: Comparator<T>
|
|
23
|
-
): T[];
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
interface LoDashImplicitWrapper<TValue> {
|
|
27
|
-
/**
|
|
28
|
-
* @see _.uniqWith
|
|
29
|
-
*/
|
|
30
|
-
uniqWith<T>(
|
|
31
|
-
this: LoDashImplicitWrapper<List<T> | null | undefined>,
|
|
32
|
-
comparator?: Comparator<T>
|
|
33
|
-
): LoDashImplicitWrapper<T[]>;
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
interface LoDashExplicitWrapper<TValue> {
|
|
37
|
-
/**
|
|
38
|
-
* @see _.uniqWith
|
|
39
|
-
*/
|
|
40
|
-
uniqWith<T>(
|
|
41
|
-
this: LoDashExplicitWrapper<List<T> | null | undefined>,
|
|
42
|
-
comparator?: Comparator<T>
|
|
43
|
-
): LoDashExplicitWrapper<T[]>;
|
|
44
|
-
}
|
|
45
|
-
}
|
lodash/array/unzip.d.ts
DELETED
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import * as _ from "../index";
|
|
2
|
-
declare module "../index" {
|
|
3
|
-
interface LoDashStatic {
|
|
4
|
-
/**
|
|
5
|
-
* This method is like _.zip except that it accepts an array of grouped elements and creates an array
|
|
6
|
-
* regrouping the elements to their pre-zip configuration.
|
|
7
|
-
*
|
|
8
|
-
* @param array The array of grouped elements to process.
|
|
9
|
-
* @return Returns the new array of regrouped elements.
|
|
10
|
-
*/
|
|
11
|
-
unzip<T>(array: T[][] | List<List<T>> | null | undefined): T[][];
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
interface LoDashImplicitWrapper<TValue> {
|
|
15
|
-
/**
|
|
16
|
-
* @see _.unzip
|
|
17
|
-
*/
|
|
18
|
-
unzip<T>(this: LoDashImplicitWrapper<T[][] | List<List<T>> | null | undefined>): LoDashImplicitWrapper<T[][]>;
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
interface LoDashExplicitWrapper<TValue> {
|
|
22
|
-
/**
|
|
23
|
-
* @see _.unzip
|
|
24
|
-
*/
|
|
25
|
-
unzip<T>(this: LoDashExplicitWrapper<T[][] | List<List<T>> | null | undefined>): LoDashExplicitWrapper<T[][]>;
|
|
26
|
-
}
|
|
27
|
-
}
|
lodash/array/unzipWith.d.ts
DELETED
|
@@ -1,60 +0,0 @@
|
|
|
1
|
-
import * as _ from "../index";
|
|
2
|
-
declare module "../index" {
|
|
3
|
-
interface LoDashStatic {
|
|
4
|
-
/**
|
|
5
|
-
* This method is like _.unzip except that it accepts an iteratee to specify how regrouped values should be
|
|
6
|
-
* combined. The iteratee is bound to thisArg and invoked with four arguments: (accumulator, value, index,
|
|
7
|
-
* group).
|
|
8
|
-
*
|
|
9
|
-
* @param array The array of grouped elements to process.
|
|
10
|
-
* @param iteratee The function to combine regrouped values.
|
|
11
|
-
* @param thisArg The this binding of iteratee.
|
|
12
|
-
* @return Returns the new array of regrouped elements.
|
|
13
|
-
*/
|
|
14
|
-
unzipWith<T, TResult>(
|
|
15
|
-
array: List<List<T>> | null | undefined,
|
|
16
|
-
iteratee: (...values: T[]) => TResult
|
|
17
|
-
): TResult[];
|
|
18
|
-
|
|
19
|
-
/**
|
|
20
|
-
* @see _.unzipWith
|
|
21
|
-
*/
|
|
22
|
-
unzipWith<T>(
|
|
23
|
-
array: List<List<T>> | null | undefined
|
|
24
|
-
): T[][];
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
interface LoDashImplicitWrapper<TValue> {
|
|
28
|
-
/**
|
|
29
|
-
* @see _.unzipWith
|
|
30
|
-
*/
|
|
31
|
-
unzipWith<T, TResult>(
|
|
32
|
-
this: LoDashImplicitWrapper<List<List<T>> | null | undefined>,
|
|
33
|
-
iteratee: (...values: T[]) => TResult
|
|
34
|
-
): LoDashImplicitWrapper<TResult[]>;
|
|
35
|
-
|
|
36
|
-
/**
|
|
37
|
-
* @see _.unzipWith
|
|
38
|
-
*/
|
|
39
|
-
unzipWith<T>(
|
|
40
|
-
this: LoDashImplicitWrapper<List<List<T>> | null | undefined>
|
|
41
|
-
): LoDashImplicitWrapper<T[][]>;
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
interface LoDashExplicitWrapper<TValue> {
|
|
45
|
-
/**
|
|
46
|
-
* @see _.unzipWith
|
|
47
|
-
*/
|
|
48
|
-
unzipWith<T, TResult>(
|
|
49
|
-
this: LoDashExplicitWrapper<List<List<T>> | null | undefined>,
|
|
50
|
-
iteratee: (...values: T[]) => TResult
|
|
51
|
-
): LoDashExplicitWrapper<TResult[]>;
|
|
52
|
-
|
|
53
|
-
/**
|
|
54
|
-
* @see _.unzipWith
|
|
55
|
-
*/
|
|
56
|
-
unzipWith<T>(
|
|
57
|
-
this: LoDashExplicitWrapper<List<List<T>> | null | undefined>
|
|
58
|
-
): LoDashExplicitWrapper<T[][]>;
|
|
59
|
-
}
|
|
60
|
-
}
|
lodash/array/without.d.ts
DELETED
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
import * as _ from "../index";
|
|
2
|
-
declare module "../index" {
|
|
3
|
-
interface LoDashStatic {
|
|
4
|
-
/**
|
|
5
|
-
* Creates an array excluding all provided values using SameValueZero for equality comparisons.
|
|
6
|
-
*
|
|
7
|
-
* @param array The array to filter.
|
|
8
|
-
* @param values The values to exclude.
|
|
9
|
-
* @return Returns the new array of filtered values.
|
|
10
|
-
*/
|
|
11
|
-
without<T>(
|
|
12
|
-
array: List<T> | null | undefined,
|
|
13
|
-
...values: T[]
|
|
14
|
-
): T[];
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
interface LoDashImplicitWrapper<TValue> {
|
|
18
|
-
/**
|
|
19
|
-
* @see _.without
|
|
20
|
-
*/
|
|
21
|
-
without<T>(
|
|
22
|
-
this: LoDashImplicitWrapper<List<T> | null | undefined>,
|
|
23
|
-
...values: T[]
|
|
24
|
-
): LoDashImplicitWrapper<T[]>;
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
interface LoDashExplicitWrapper<TValue> {
|
|
28
|
-
/**
|
|
29
|
-
* @see _.without
|
|
30
|
-
*/
|
|
31
|
-
without<T>(
|
|
32
|
-
this: LoDashExplicitWrapper<List<T> | null | undefined>,
|
|
33
|
-
...values: T[]
|
|
34
|
-
): LoDashExplicitWrapper<T[]>;
|
|
35
|
-
}
|
|
36
|
-
}
|
lodash/array/xor.d.ts
DELETED
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
import * as _ from "../index";
|
|
2
|
-
declare module "../index" {
|
|
3
|
-
interface LoDashStatic {
|
|
4
|
-
/**
|
|
5
|
-
* Creates an array of unique values that is the symmetric difference of the provided arrays.
|
|
6
|
-
*
|
|
7
|
-
* @param arrays The arrays to inspect.
|
|
8
|
-
* @return Returns the new array of values.
|
|
9
|
-
*/
|
|
10
|
-
xor<T>(...arrays: Array<List<T> | null | undefined>): T[];
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
interface LoDashImplicitWrapper<TValue> {
|
|
14
|
-
/**
|
|
15
|
-
* @see _.xor
|
|
16
|
-
*/
|
|
17
|
-
xor<T>(
|
|
18
|
-
this: LoDashImplicitWrapper<List<T> | null | undefined>,
|
|
19
|
-
...arrays: Array<List<T> | null | undefined>
|
|
20
|
-
): LoDashImplicitWrapper<T[]>;
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
interface LoDashExplicitWrapper<TValue> {
|
|
24
|
-
/**
|
|
25
|
-
* @see _.xor
|
|
26
|
-
*/
|
|
27
|
-
xor<T>(
|
|
28
|
-
this: LoDashExplicitWrapper<List<T> | null | undefined>,
|
|
29
|
-
...arrays: Array<List<T> | null | undefined>
|
|
30
|
-
): LoDashExplicitWrapper<T[]>;
|
|
31
|
-
}
|
|
32
|
-
}
|
lodash/array/xorBy.d.ts
DELETED
|
@@ -1,104 +0,0 @@
|
|
|
1
|
-
import * as _ from "../index";
|
|
2
|
-
declare module "../index" {
|
|
3
|
-
interface LoDashStatic {
|
|
4
|
-
/**
|
|
5
|
-
* This method is like `_.xor` except that it accepts `iteratee` which is
|
|
6
|
-
* invoked for each element of each `arrays` to generate the criterion by which
|
|
7
|
-
* uniqueness is computed. The iteratee is invoked with one argument: (value).
|
|
8
|
-
*
|
|
9
|
-
* @category Array
|
|
10
|
-
* @param [arrays] The arrays to inspect.
|
|
11
|
-
* @param [iteratee=_.identity] The iteratee invoked per element.
|
|
12
|
-
* @returns Returns the new array of values.
|
|
13
|
-
* @example
|
|
14
|
-
*
|
|
15
|
-
* _.xorBy([2.1, 1.2], [4.3, 2.4], Math.floor);
|
|
16
|
-
* // => [1.2, 4.3]
|
|
17
|
-
*
|
|
18
|
-
* // using the `_.property` iteratee shorthand
|
|
19
|
-
* _.xorBy([{ 'x': 1 }], [{ 'x': 2 }, { 'x': 1 }], 'x');
|
|
20
|
-
* // => [{ 'x': 2 }]
|
|
21
|
-
*/
|
|
22
|
-
xorBy<T>(
|
|
23
|
-
arrays: List<T> | null | undefined,
|
|
24
|
-
iteratee?: ValueIteratee<T>
|
|
25
|
-
): T[];
|
|
26
|
-
|
|
27
|
-
/**
|
|
28
|
-
* @see _.xorBy
|
|
29
|
-
*/
|
|
30
|
-
xorBy<T>(
|
|
31
|
-
arrays: List<T> | null | undefined,
|
|
32
|
-
arrays2: List<T> | null | undefined,
|
|
33
|
-
iteratee?: ValueIteratee<T>
|
|
34
|
-
): T[];
|
|
35
|
-
|
|
36
|
-
/**
|
|
37
|
-
* @see _.xorBy
|
|
38
|
-
*/
|
|
39
|
-
xorBy<T>(
|
|
40
|
-
arrays: List<T> | null | undefined,
|
|
41
|
-
arrays2: List<T> | null | undefined,
|
|
42
|
-
arrays3: List<T> | null | undefined,
|
|
43
|
-
...iteratee: Array<ValueIteratee<T> | List<T> | null | undefined>
|
|
44
|
-
): T[];
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
interface LoDashImplicitWrapper<TValue> {
|
|
48
|
-
/**
|
|
49
|
-
* @see _.xor
|
|
50
|
-
*/
|
|
51
|
-
xorBy<T>(
|
|
52
|
-
this: LoDashImplicitWrapper<List<T> | null | undefined>,
|
|
53
|
-
iteratee?: ValueIteratee<T>
|
|
54
|
-
): LoDashImplicitWrapper<T[]>;
|
|
55
|
-
|
|
56
|
-
/**
|
|
57
|
-
* @see _.xorBy
|
|
58
|
-
*/
|
|
59
|
-
xorBy<T>(
|
|
60
|
-
this: LoDashImplicitWrapper<List<T> | null | undefined>,
|
|
61
|
-
arrays2: List<T> | null | undefined,
|
|
62
|
-
iteratee?: ValueIteratee<T>
|
|
63
|
-
): LoDashImplicitWrapper<T[]>;
|
|
64
|
-
|
|
65
|
-
/**
|
|
66
|
-
* @see _.xorBy
|
|
67
|
-
*/
|
|
68
|
-
xorBy<T>(
|
|
69
|
-
this: LoDashImplicitWrapper<List<T> | null | undefined>,
|
|
70
|
-
arrays2: List<T> | null | undefined,
|
|
71
|
-
arrays3: List<T> | null | undefined,
|
|
72
|
-
...iteratee: Array<ValueIteratee<T> | List<T> | null | undefined>
|
|
73
|
-
): LoDashImplicitWrapper<T[]>;
|
|
74
|
-
}
|
|
75
|
-
|
|
76
|
-
interface LoDashExplicitWrapper<TValue> {
|
|
77
|
-
/**
|
|
78
|
-
* @see _.xorBy
|
|
79
|
-
*/
|
|
80
|
-
xorBy<T>(
|
|
81
|
-
this: LoDashExplicitWrapper<List<T> | null | undefined>,
|
|
82
|
-
iteratee?: ValueIteratee<T>
|
|
83
|
-
): LoDashExplicitWrapper<T[]>;
|
|
84
|
-
|
|
85
|
-
/**
|
|
86
|
-
* @see _.xorBy
|
|
87
|
-
*/
|
|
88
|
-
xorBy<T>(
|
|
89
|
-
this: LoDashExplicitWrapper<List<T> | null | undefined>,
|
|
90
|
-
arrays2: List<T> | null | undefined,
|
|
91
|
-
iteratee?: ValueIteratee<T>
|
|
92
|
-
): LoDashExplicitWrapper<T[]>;
|
|
93
|
-
|
|
94
|
-
/**
|
|
95
|
-
* @see _.xorBy
|
|
96
|
-
*/
|
|
97
|
-
xorBy<T>(
|
|
98
|
-
this: LoDashExplicitWrapper<List<T> | null | undefined>,
|
|
99
|
-
arrays2: List<T> | null | undefined,
|
|
100
|
-
arrays3: List<T> | null | undefined,
|
|
101
|
-
...iteratee: Array<ValueIteratee<T> | List<T> | null | undefined>
|
|
102
|
-
): LoDashExplicitWrapper<T[]>;
|
|
103
|
-
}
|
|
104
|
-
}
|