File lodash_v4.x.x.js
has 5178 lines of code (exceeds 250 allowed). Consider refactoring.
declare module "lodash" {
declare type __CurriedFunction1<A, R, AA: A> = (...r: [AA]) => R;
Identical blocks of code found in 2 locations. Consider refactoring.
declare type Curry = (<A, R>((...r: [A]) => R) => CurriedFunction1<A, R>) &
(<A, B, R>((...r: [A, B]) => R) => CurriedFunction2<A, B, R>) &
(<A, B, C, R>((...r: [A, B, C]) => R) => CurriedFunction3<A, B, C, R>) &
(<A, B, C, D, R>(
(...r: [A, B, C, D]) => R
Identical blocks of code found in 2 locations. Consider refactoring.
declare type Curry = (<A, R>((...r: [A]) => R) => CurriedFunction1<A, R>) &
(<A, B, R>((...r: [A, B]) => R) => CurriedFunction2<A, B, R>) &
(<A, B, C, R>((...r: [A, B, C]) => R) => CurriedFunction3<A, B, C, R>) &
(<A, B, C, D, R>(
(...r: [A, B, C, D]) => R
Identical blocks of code found in 2 locations. Consider refactoring.
declare type __CurriedFunction6<
A,
B,
C,
D,
Identical blocks of code found in 2 locations. Consider refactoring.
declare type __CurriedFunction6<
A,
B,
C,
D,
Identical blocks of code found in 2 locations. Consider refactoring.
declare type __CurriedFunction5<
A,
B,
C,
D,
Identical blocks of code found in 2 locations. Consider refactoring.
declare type __CurriedFunction5<
A,
B,
C,
D,
Identical blocks of code found in 2 locations. Consider refactoring.
declare type __CurriedFunction4<
A,
B,
C,
D,
Identical blocks of code found in 2 locations. Consider refactoring.
declare type __CurriedFunction4<
A,
B,
C,
D,
Similar blocks of code found in 4 locations. Consider refactoring.
extendWith<T: Object, A: Object, B: Object, C: Object, D: Object>(
object: T,
s1: A,
s2: B,
s3: C,
Similar blocks of code found in 4 locations. Consider refactoring.
assignWith<T: Object, A: Object, B: Object, C: Object, D: Object>(
object: T,
s1: A,
s2: B,
s3: C,
Similar blocks of code found in 4 locations. Consider refactoring.
mergeWith<T: Object, A: Object, B: Object, C: Object, D: Object>(
object: T,
s1: A,
s2: B,
s3: C,
Similar blocks of code found in 4 locations. Consider refactoring.
assignInWith<T: Object, A: Object, B: Object, C: Object, D: Object>(
object: T,
s1: A,
s2: B,
s3: C,
Similar blocks of code found in 2 locations. Consider refactoring.
findLastFrom<T>(
predicate: Predicate<T> | OPredicate<T>
): ((
fromIndex: number
) => (collection: $ReadOnlyArray<T> | { [id: any]: T }) => T | void) &
Similar blocks of code found in 2 locations. Consider refactoring.
findFrom<T>(
predicate: Predicate<T> | OPredicate<T>
): ((
fromIndex: number
) => (collection: $ReadOnlyArray<T> | { [id: any]: T }) => T | void) &
Similar blocks of code found in 2 locations. Consider refactoring.
reduce<T, U>(
iteratee: (accumulator: U, value: T) => U
): ((accumulator: U) => (collection: Array<T> | { [id: any]: T }) => U) &
((accumulator: U, collection: Array<T> | { [id: any]: T }) => U);
Similar blocks of code found in 2 locations. Consider refactoring.
reduceRight<T, U>(
iteratee: (value: T, accumulator: U) => U
): ((accumulator: U) => (collection: Array<T> | { [id: any]: T }) => U) &
((accumulator: U, collection: Array<T> | { [id: any]: T }) => U);
Similar blocks of code found in 4 locations. Consider refactoring.
extendWith<T: Object, A: Object, B: Object, C: Object>(
object: T,
s1: A,
s2: B,
s3: C,
Similar blocks of code found in 4 locations. Consider refactoring.
assignWith<T: Object, A: Object, B: Object, C: Object>(
object: T,
s1: A,
s2: B,
s3: C,
Similar blocks of code found in 4 locations. Consider refactoring.
assignInWith<T: Object, A: Object, B: Object, C: Object>(
object: T,
s1: A,
s2: B,
s3: C,
Similar blocks of code found in 4 locations. Consider refactoring.
mergeWith<T: Object, A: Object, B: Object, C: Object>(
object: T,
s1: A,
s2: B,
s3: C,
Identical blocks of code found in 2 locations. Consider refactoring.
declare type __CurriedFunction3<A, B, C, R, AA: A, BB: B, CC: C> = ((
...r: [AA]
) => CurriedFunction2<BB, CC, R>) &
((...r: [AA, BB]) => CurriedFunction1<CC, R>) &
((...r: [AA, BB, CC]) => R);
Identical blocks of code found in 2 locations. Consider refactoring.
declare type __CurriedFunction3<A, B, C, R, AA: A, BB: B, CC: C> = ((
...r: [AA]
) => CurriedFunction2<BB, CC, R>) &
((...r: [AA, BB]) => CurriedFunction1<CC, R>) &
((...r: [AA, BB, CC]) => R);
Similar blocks of code found in 2 locations. Consider refactoring.
assignInWith<T: Object, A: Object>(
customizer: (
objValue: any,
srcValue: any,
key: string,
Similar blocks of code found in 2 locations. Consider refactoring.
assignWith<T: Object, A: Object>(
customizer: (
objValue: any,
srcValue: any,
key: string,
Similar blocks of code found in 10 locations. Consider refactoring.
xorWith<T>(
comparator: Comparator<T>
): ((a1: Array<T>) => (a2: Array<T>) => Array<T>) &
((a1: Array<T>, a2: Array<T>) => Array<T>);
Similar blocks of code found in 10 locations. Consider refactoring.
symmetricDifferenceBy<T>(
iteratee: ValueOnlyIteratee<T>
): ((a1: Array<T>) => (a2: Array<T>) => Array<T>) &
((a1: Array<T>, a2: Array<T>) => Array<T>);
Similar blocks of code found in 10 locations. Consider refactoring.
pullAllBy<T>(
iteratee: ValueOnlyIteratee<T>
): ((values: Array<T>) => (array: Array<T>) => Array<T>) &
((values: Array<T>, array: Array<T>) => Array<T>);
Similar blocks of code found in 10 locations. Consider refactoring.
intersectionBy<T>(
iteratee: ValueOnlyIteratee<T>
): ((a1: Array<T>) => (a2: Array<T>) => Array<T>) &
((a1: Array<T>, a2: Array<T>) => Array<T>);
Similar blocks of code found in 10 locations. Consider refactoring.
unionBy<T>(
iteratee: ValueOnlyIteratee<T>
): ((a1: Array<T>) => (a2: Array<T>) => Array<T>) &
((a1: Array<T>, a2: Array<T>) => Array<T>);
Similar blocks of code found in 10 locations. Consider refactoring.
unionWith<T>(
comparator: Comparator<T>
): ((a1: Array<T>) => (a2: Array<T>) => Array<T>) &
((a1: Array<T>, a2: Array<T>) => Array<T>);
Similar blocks of code found in 10 locations. Consider refactoring.
xorBy<T>(
iteratee: ValueOnlyIteratee<T>
): ((a1: Array<T>) => (a2: Array<T>) => Array<T>) &
((a1: Array<T>, a2: Array<T>) => Array<T>);
Similar blocks of code found in 10 locations. Consider refactoring.
symmetricDifferenceWith<T>(
comparator: Comparator<T>
): ((a1: Array<T>) => (a2: Array<T>) => Array<T>) &
((a1: Array<T>, a2: Array<T>) => Array<T>);
Similar blocks of code found in 10 locations. Consider refactoring.
intersectionWith<T>(
comparator: Comparator<T>
): ((a1: Array<T>) => (a2: Array<T>) => Array<T>) &
((a1: Array<T>, a2: Array<T>) => Array<T>);
Similar blocks of code found in 10 locations. Consider refactoring.
zipWith<T>(
iteratee: Iteratee<T>
): ((a1: NestedArray<T>) => (a2: NestedArray<T>) => Array<T>) &
((a1: NestedArray<T>, a2: NestedArray<T>) => Array<T>);
Similar blocks of code found in 4 locations. Consider refactoring.
assignWith<T: Object, A: Object, B: Object>(
object: T,
s1: A,
s2: B,
customizer?: (
Similar blocks of code found in 4 locations. Consider refactoring.
extendWith<T: Object, A: Object, B: Object>(
object: T,
s1: A,
s2: B,
customizer?: (
Similar blocks of code found in 4 locations. Consider refactoring.
assignInWith<T: Object, A: Object, B: Object>(
object: T,
s1: A,
s2: B,
customizer?: (
Similar blocks of code found in 4 locations. Consider refactoring.
mergeWith<T: Object, A: Object, B: Object>(
object: T,
s1: A,
s2: B,
customizer?: (
Similar blocks of code found in 2 locations. Consider refactoring.
differenceWith<T>(
values: $ReadOnlyArray<T>
): ((comparator: Comparator<T>) => (array: $ReadOnlyArray<T>) => T[]) &
((comparator: Comparator<T>, array: $ReadOnlyArray<T>) => T[]);
Similar blocks of code found in 2 locations. Consider refactoring.
differenceBy<T>(
iteratee: ValueOnlyIteratee<T>
): ((values: $ReadOnlyArray<T>) => (array: $ReadOnlyArray<T>) => T[]) &
((values: $ReadOnlyArray<T>, array: $ReadOnlyArray<T>) => T[]);
Similar blocks of code found in 2 locations. Consider refactoring.
intersectionBy<T>(
a1?: ?Array<T>,
a2?: ?Array<T>,
a3?: ?Array<T>,
a4?: ?Array<T>,
Similar blocks of code found in 2 locations. Consider refactoring.
intersectionWith<T>(
a1?: ?Array<T>,
a2?: ?Array<T>,
a3?: ?Array<T>,
a4?: ?Array<T>,
Similar blocks of code found in 4 locations. Consider refactoring.
unionBy<T>(
a1: Array<T>,
a2: Array<T>,
a3: Array<T>,
a4: Array<T>,
Similar blocks of code found in 3 locations. Consider refactoring.
propOr(
defaultValue: any
): ((
path: Array<string> | string
) => (object: Object | Array<any>) => any) &
Similar blocks of code found in 4 locations. Consider refactoring.
xorBy<T>(
a1: Array<T>,
a2: Array<T>,
a3: Array<T>,
a4: Array<T>,
Similar blocks of code found in 3 locations. Consider refactoring.
getOr(
defaultValue: any
): ((
path: Array<string> | string
) => (object: Object | Array<any>) => any) &
Similar blocks of code found in 4 locations. Consider refactoring.
unionWith<T>(
a1: Array<T>,
a2: Array<T>,
a3: Array<T>,
a4: Array<T>,
Similar blocks of code found in 4 locations. Consider refactoring.
xorWith<T>(
a1: Array<T>,
a2: Array<T>,
a3: Array<T>,
a4: Array<T>,
Similar blocks of code found in 3 locations. Consider refactoring.
pathOr(
defaultValue: any
): ((
path: Array<string> | string
) => (object: Object | Array<any>) => any) &
Similar blocks of code found in 3 locations. Consider refactoring.
extendWith<T: Object, A: Object>(
customizer: (
objValue: any,
srcValue: any,
key: string,
Similar blocks of code found in 3 locations. Consider refactoring.
assignInWith<T: Object, A: Object>(
customizer: (
objValue: any,
srcValue: any,
key: string,
Similar blocks of code found in 3 locations. Consider refactoring.
assignWith<T: Object, A: Object>(
customizer: (
objValue: any,
srcValue: any,
key: string,
Similar blocks of code found in 4 locations. Consider refactoring.
flatMap<T, U>(
iteratee: FlatMapIteratee<T, U> | OFlatMapIteratee<T, U>
): (collection: Array<T> | { [id: any]: T }) => Array<U>;
Similar blocks of code found in 4 locations. Consider refactoring.
flatMapDeep<T, U>(
iteratee: FlatMapIteratee<T, U> | OFlatMapIteratee<T, U>
): (collection: Array<T> | { [id: any]: T }) => Array<U>;
Similar blocks of code found in 4 locations. Consider refactoring.
map<T, U>(
iteratee: MapIterator<T, U> | OMapIterator<T, U>
): (collection: Array<T> | { [id: any]: T }) => Array<U>;
Similar blocks of code found in 4 locations. Consider refactoring.
pluck<T, U>(
iteratee: MapIterator<T, U> | OMapIterator<T, U>
): (collection: Array<T> | { [id: any]: T }) => Array<U>;
Similar blocks of code found in 2 locations. Consider refactoring.
assignInWith<T: Object, A: Object>(
object: T,
s1: A,
customizer?: (
objValue: any,
Similar blocks of code found in 3 locations. Consider refactoring.
assignInWith<T: Object, A: Object>(
customizer: (
objValue: any,
srcValue: any,
key: string,
Similar blocks of code found in 2 locations. Consider refactoring.
assignWith<T: Object, A: Object>(
object: T,
s1: A,
customizer?: (
objValue: any,
Similar blocks of code found in 3 locations. Consider refactoring.
extendWith<T: Object, A: Object>(
customizer: (
objValue: any,
srcValue: any,
key: string,
Similar blocks of code found in 3 locations. Consider refactoring.
assignWith<T: Object, A: Object>(
customizer: (
objValue: any,
srcValue: any,
key: string,
Similar blocks of code found in 4 locations. Consider refactoring.
flatMapDeep<T, U>(
iteratee: FlatMapIteratee<T, U> | OFlatMapIteratee<T, U>,
collection: Array<T> | { [id: any]: T }
): Array<U>;
Similar blocks of code found in 4 locations. Consider refactoring.
flatMap<T, U>(
iteratee: FlatMapIteratee<T, U> | OFlatMapIteratee<T, U>,
collection: Array<T> | { [id: any]: T }
): Array<U>;
Similar blocks of code found in 2 locations. Consider refactoring.
intersectionBy<T>(
a1?: ?Array<T>,
a2?: ?Array<T>,
a3?: ?Array<T>,
iteratee?: ?ValueOnlyIteratee<T>
Similar blocks of code found in 2 locations. Consider refactoring.
intersectionWith<T>(
a1?: ?Array<T>,
a2?: ?Array<T>,
a3?: ?Array<T>,
comparator?: ?Comparator<T>
Similar blocks of code found in 4 locations. Consider refactoring.
pluck<T, U>(
iteratee: MapIterator<T, U> | OMapIterator<T, U>,
collection: Array<T> | { [id: any]: T }
): Array<U>;
Identical blocks of code found in 2 locations. Consider refactoring.
fill<T, U>(
start: number,
end: number
): ((value: U) => (array: Array<T>) => Array<T | U>) &
((value: U, array: Array<T>) => Array<T | U>);
Similar blocks of code found in 4 locations. Consider refactoring.
map<T, U>(
iteratee: MapIterator<T, U> | OMapIterator<T, U>,
collection: Array<T> | { [id: any]: T }
): Array<U>;
Identical blocks of code found in 2 locations. Consider refactoring.
): ((
end: number
) => ((value: U) => (array: Array<T>) => Array<T | U>) &
((value: U, array: Array<T>) => Array<T | U>)) &
Similar blocks of code found in 2 locations. Consider refactoring.
reduce<T, U>(
array: void | null,
iteratee?: ?(
accumulator: U,
value: T,
Similar blocks of code found in 2 locations. Consider refactoring.
reduceRight<T, U>(
array: void | null,
iteratee?: ?(
accumulator: U,
value: T,
Similar blocks of code found in 2 locations. Consider refactoring.
eachRight<T>(
iteratee: Iteratee<T> | OIteratee<T>
): (collection: Array<T> | { [id: any]: T }) => Array<T>;
Similar blocks of code found in 2 locations. Consider refactoring.
reduce<T, U>(
iteratee: (accumulator: U, value: T) => U,
accumulator: U
): (collection: Array<T> | { [id: any]: T }) => U;
Similar blocks of code found in 2 locations. Consider refactoring.
each<T>(
iteratee: Iteratee<T> | OIteratee<T>
): (collection: Array<T> | { [id: any]: T }) => Array<T>;
Similar blocks of code found in 2 locations. Consider refactoring.
reduceRight<T, U>(
iteratee: (value: T, accumulator: U) => U,
accumulator: U
): (collection: Array<T> | { [id: any]: T }) => U;
Similar blocks of code found in 2 locations. Consider refactoring.
findFrom<T>(
predicate: Predicate<T> | OPredicate<T>,
fromIndex: number
): (collection: Array<T> | { [id: any]: T }) => T | void;
Similar blocks of code found in 2 locations. Consider refactoring.
findLastFrom<T>(
predicate: Predicate<T> | OPredicate<T>,
fromIndex: number
): (collection: $ReadOnlyArray<T> | { [id: any]: T }) => T | void;
Similar blocks of code found in 2 locations. Consider refactoring.
sortedIndexBy<T>(
iteratee: ValueOnlyIteratee<T>
): ((value: T) => (array: Array<T>) => number) &
((value: T, array: Array<T>) => number);
Similar blocks of code found in 2 locations. Consider refactoring.
sortedLastIndexBy<T>(
iteratee: ValueOnlyIteratee<T>
): ((value: T) => (array: Array<T>) => number) &
((value: T, array: Array<T>) => number);
Similar blocks of code found in 4 locations. Consider refactoring.
reject<T>(
predicate: Predicate<T> | OPredicate<T>
): (collection: Array<T> | { [id: any]: T }) => Array<T>;
Similar blocks of code found in 4 locations. Consider refactoring.
filter<T>(
predicate: Predicate<T> | OPredicate<T>
): (collection: Array<T> | { [id: any]: T }) => Array<T>;
Similar blocks of code found in 4 locations. Consider refactoring.
forEachRight<T>(
iteratee: Iteratee<T> | OIteratee<T>
): (collection: Array<T> | { [id: any]: T }) => Array<T>;
Similar blocks of code found in 4 locations. Consider refactoring.
forEach<T>(
iteratee: Iteratee<T> | OIteratee<T>
): (collection: Array<T> | { [id: any]: T }) => Array<T>;
Similar blocks of code found in 2 locations. Consider refactoring.
findFrom<T>(
predicate: Predicate<T> | OPredicate<T>,
fromIndex: number,
collection: $ReadOnlyArray<T> | { [id: any]: T }
): T | void;
Similar blocks of code found in 2 locations. Consider refactoring.
reduceRight<T, U>(
iteratee: (value: T, accumulator: U) => U,
accumulator: U,
collection: Array<T> | { [id: any]: T }
): U;
Similar blocks of code found in 2 locations. Consider refactoring.
reduce<T, U>(
iteratee: (accumulator: U, value: T) => U,
accumulator: U,
collection: Array<T> | { [id: any]: T }
): U;
Similar blocks of code found in 2 locations. Consider refactoring.
findLastFrom<T>(
predicate: Predicate<T> | OPredicate<T>,
fromIndex: number,
collection: $ReadOnlyArray<T> | { [id: any]: T }
): T | void;
Similar blocks of code found in 2 locations. Consider refactoring.
findLast<T>(
predicate: Predicate<T> | OPredicate<T>
): (collection: $ReadOnlyArray<T> | { [id: any]: T }) => T | void;
Similar blocks of code found in 6 locations. Consider refactoring.
eachRight<T>(
iteratee: Iteratee<T> | OIteratee<T>,
collection: Array<T> | { [id: any]: T }
): Array<T>;
Similar blocks of code found in 2 locations. Consider refactoring.
indexBy<T, V>(
iteratee: ValueOnlyIteratee<T>
): (collection: $ReadOnlyArray<T> | { [id: any]: T }) => { [key: V]: T };
Similar blocks of code found in 2 locations. Consider refactoring.
find<T>(
predicate: Predicate<T> | OPredicate<T>
): (collection: $ReadOnlyArray<T> | { [id: any]: T }) => T | void;
Similar blocks of code found in 2 locations. Consider refactoring.
findIndexFrom<T>(
predicate: Predicate<T>
): ((fromIndex: number) => (array: $ReadOnlyArray<T>) => number) &
((fromIndex: number, array: $ReadOnlyArray<T>) => number);
Similar blocks of code found in 6 locations. Consider refactoring.
forEach<T>(
iteratee: Iteratee<T> | OIteratee<T>,
collection: Array<T> | { [id: any]: T }
): Array<T>;
Similar blocks of code found in 2 locations. Consider refactoring.
findLastIndexFrom<T>(
predicate: Predicate<T>
): ((fromIndex: number) => (array: $ReadOnlyArray<T>) => number) &
((fromIndex: number, array: $ReadOnlyArray<T>) => number);
Similar blocks of code found in 2 locations. Consider refactoring.
keyBy<T, V>(
iteratee: ValueOnlyIteratee<T>
): (collection: $ReadOnlyArray<T> | { [id: any]: T }) => { [key: V]: T };
Similar blocks of code found in 6 locations. Consider refactoring.
forEachRight<T>(
iteratee: Iteratee<T> | OIteratee<T>,
collection: Array<T> | { [id: any]: T }
): Array<T>;
Similar blocks of code found in 6 locations. Consider refactoring.
reject<T>(
predicate: Predicate<T> | OPredicate<T>,
collection: Array<T> | { [id: any]: T }
): Array<T>;
Similar blocks of code found in 6 locations. Consider refactoring.
filter<T>(
predicate: Predicate<T> | OPredicate<T>,
collection: Array<T> | { [id: any]: T }
): Array<T>;
Similar blocks of code found in 6 locations. Consider refactoring.
each<T>(
iteratee: Iteratee<T> | OIteratee<T>,
collection: Array<T> | { [id: any]: T }
): Array<T>;
Similar blocks of code found in 4 locations. Consider refactoring.
xorBy<T>(
a1: Array<T>,
a2: Array<T>,
a3: Array<T>,
iteratee?: ValueOnlyIteratee<T>
Similar blocks of code found in 4 locations. Consider refactoring.
xorWith<T>(
a1: Array<T>,
a2: Array<T>,
a3: Array<T>,
comparator?: Comparator<T>
Similar blocks of code found in 4 locations. Consider refactoring.
unionBy<T>(
a1: Array<T>,
a2: Array<T>,
a3: Array<T>,
iteratee?: ValueOnlyIteratee<T>
Similar blocks of code found in 4 locations. Consider refactoring.
unionWith<T>(
a1: Array<T>,
a2: Array<T>,
a3: Array<T>,
comparator?: Comparator<T>
Identical blocks of code found in 2 locations. Consider refactoring.
declare type __CurriedFunction2<A, B, R, AA: A, BB: B> = ((
...r: [AA]
) => CurriedFunction1<BB, R>) &
((...r: [AA, BB]) => R);
Identical blocks of code found in 2 locations. Consider refactoring.
declare type __CurriedFunction2<A, B, R, AA: A, BB: B> = ((
...r: [AA]
) => CurriedFunction1<BB, R>) &
((...r: [AA, BB]) => R);
Similar blocks of code found in 2 locations. Consider refactoring.
keyBy<T, V>(
iteratee: ValueOnlyIteratee<T>,
collection: $ReadOnlyArray<T> | { [id: any]: T }
): { [key: V]: T };
Similar blocks of code found in 2 locations. Consider refactoring.
indexBy<T, V>(
iteratee: ValueOnlyIteratee<T>,
collection: $ReadOnlyArray<T> | { [id: any]: T }
): { [key: V]: T };
Similar blocks of code found in 2 locations. Consider refactoring.
findLast<T>(
predicate: Predicate<T> | OPredicate<T>,
collection: $ReadOnlyArray<T> | { [id: any]: T }
): T | void;
Similar blocks of code found in 2 locations. Consider refactoring.
find<T>(
predicate: Predicate<T> | OPredicate<T>,
collection: $ReadOnlyArray<T> | { [id: any]: T }
): T | void;
Similar blocks of code found in 4 locations. Consider refactoring.
every<T>(
iteratee: Iteratee<T> | OIteratee<T>
): (collection: Array<T> | { [id: any]: T }) => boolean;
Similar blocks of code found in 4 locations. Consider refactoring.
all<T>(
iteratee: Iteratee<T> | OIteratee<T>
): (collection: Array<T> | { [id: any]: T }) => boolean;
Similar blocks of code found in 4 locations. Consider refactoring.
any<T>(
predicate: Predicate<T> | OPredicate<T>
): (collection: Array<T> | { [id: any]: T }) => boolean;
Similar blocks of code found in 4 locations. Consider refactoring.
some<T>(
predicate: Predicate<T> | OPredicate<T>
): (collection: Array<T> | { [id: any]: T }) => boolean;
Similar blocks of code found in 2 locations. Consider refactoring.
extend<A, B, C, D, E>(a: A, b: B, c: C, d: D, e: E): A & B & C & D & E;
Similar blocks of code found in 2 locations. Consider refactoring.
indexOfFrom<T>(
value: T
): ((fromIndex: number) => (array: Array<T>) => number) &
((fromIndex: number, array: Array<T>) => number);
Similar blocks of code found in 2 locations. Consider refactoring.
assignIn<A, B, C, D, E>(a: A, b: B, c: C, d: D, e: E): A & B & C & D & E;
Similar blocks of code found in 2 locations. Consider refactoring.
lastIndexOfFrom<T>(
value: T
): ((fromIndex: number) => (array: Array<T>) => number) &
((fromIndex: number, array: Array<T>) => number);
Similar blocks of code found in 3 locations. Consider refactoring.
conformsTo<T: { [key: string]: mixed }>(
predicates: T & { [key: string]: (x: any) => boolean }
): (source: T) => boolean;
Similar blocks of code found in 3 locations. Consider refactoring.
conforms<T: { [key: string]: mixed }>(
predicates: T & { [key: string]: (x: any) => boolean }
): (source: T) => boolean;
Similar blocks of code found in 4 locations. Consider refactoring.
extendAllWith(
customizer: (
objValue: any,
srcValue: any,
key: string,
Similar blocks of code found in 4 locations. Consider refactoring.
assignAllWith(
customizer: (
objValue: any,
srcValue: any,
key: string,
Similar blocks of code found in 3 locations. Consider refactoring.
where<T: { [key: string]: mixed }>(
predicates: T & { [key: string]: (x: any) => boolean }
): (source: T) => boolean;
Similar blocks of code found in 4 locations. Consider refactoring.
assignInAllWith(
customizer: (
objValue: any,
srcValue: any,
key: string,
Similar blocks of code found in 4 locations. Consider refactoring.
mergeAllWith(
customizer: (
objValue: any,
srcValue: any,
key: string,
Similar blocks of code found in 4 locations. Consider refactoring.
some<T>(
predicate: Predicate<T> | OPredicate<T>,
collection: Array<T> | { [id: any]: T }
): boolean;
Similar blocks of code found in 2 locations. Consider refactoring.
intersectionBy<T>(
a1?: ?Array<T>,
a2?: ?Array<T>,
iteratee?: ?ValueOnlyIteratee<T>
): Array<T>;
Similar blocks of code found in 4 locations. Consider refactoring.
every<T>(
iteratee: Iteratee<T> | OIteratee<T>,
collection: Array<T> | { [id: any]: T }
): boolean;
Similar blocks of code found in 2 locations. Consider refactoring.
intersectionWith<T>(
a1?: ?Array<T>,
a2?: ?Array<T>,
comparator?: ?Comparator<T>
): Array<T>;
Similar blocks of code found in 4 locations. Consider refactoring.
all<T>(
iteratee: Iteratee<T> | OIteratee<T>,
collection: Array<T> | { [id: any]: T }
): boolean;
Similar blocks of code found in 4 locations. Consider refactoring.
any<T>(
predicate: Predicate<T> | OPredicate<T>,
collection: Array<T> | { [id: any]: T }
): boolean;
Identical blocks of code found in 2 locations. Consider refactoring.
invokeArgsMap<T>(
path: ((value: T) => Array<string> | string) | Array<string> | string,
collection: Array<T> | { [id: any]: T }
): (args: Array<any>) => Array<any>;
Identical blocks of code found in 2 locations. Consider refactoring.
invokeMap<T>(
path: ((value: T) => Array<string> | string) | Array<string> | string,
collection: Array<T> | { [id: any]: T }
): Array<any>;
Similar blocks of code found in 4 locations. Consider refactoring.
assignAllWith(
customizer: (
objValue: any,
srcValue: any,
key: string,
Similar blocks of code found in 4 locations. Consider refactoring.
assignInAllWith(
customizer: (
objValue: any,
srcValue: any,
key: string,
Similar blocks of code found in 3 locations. Consider refactoring.
conformsTo<T: { [key: string]: mixed }>(
predicates: T & { [key: string]: (x: any) => boolean },
source: T
): boolean;
Similar blocks of code found in 3 locations. Consider refactoring.
where<T: { [key: string]: mixed }>(
predicates: T & { [key: string]: (x: any) => boolean },
source: T
): boolean;
Similar blocks of code found in 4 locations. Consider refactoring.
extendAllWith(
customizer: (
objValue: any,
srcValue: any,
key: string,
Similar blocks of code found in 3 locations. Consider refactoring.
conforms<T: { [key: string]: mixed }>(
predicates: T & { [key: string]: (x: any) => boolean },
source: T
): boolean;
Similar blocks of code found in 4 locations. Consider refactoring.
mergeAllWith(
customizer: (
objValue: any,
srcValue: any,
key: string,
Similar blocks of code found in 10 locations. Consider refactoring.
intersectionBy<T>(
iteratee: ValueOnlyIteratee<T>,
a1: Array<T>
): (a2: Array<T>) => Array<T>;
Similar blocks of code found in 10 locations. Consider refactoring.
zipWith<T>(
iteratee: Iteratee<T>,
a1: NestedArray<T>
): (a2: NestedArray<T>) => Array<T>;
Similar blocks of code found in 10 locations. Consider refactoring.
unionWith<T>(
comparator: Comparator<T>,
a1: Array<T>
): (a2: Array<T>) => Array<T>;
Similar blocks of code found in 3 locations. Consider refactoring.
assocPath(
path: Array<string> | string
): ((value: any) => (object: Object) => Object) &
((value: any, object: Object) => Object);
Similar blocks of code found in 2 locations. Consider refactoring.
cloneDeepWith<T, U>(
customizer: (value: T, key: number | string, object: T, stack: any) => U
): (value: T) => U;
Similar blocks of code found in 10 locations. Consider refactoring.
pullAllBy<T>(
iteratee: ValueOnlyIteratee<T>,
values: Array<T>
): (array: Array<T>) => Array<T>;
Similar blocks of code found in 10 locations. Consider refactoring.
symmetricDifferenceBy<T>(
iteratee: ValueOnlyIteratee<T>,
a1: Array<T>
): (a2: Array<T>) => Array<T>;
Similar blocks of code found in 3 locations. Consider refactoring.
set(
path: Array<string> | string
): ((value: any) => (object: Object) => Object) &
((value: any, object: Object) => Object);
Similar blocks of code found in 10 locations. Consider refactoring.
unionBy<T>(
iteratee: ValueOnlyIteratee<T>,
a1: Array<T>
): (a2: Array<T>) => Array<T>;
Similar blocks of code found in 10 locations. Consider refactoring.
xorBy<T>(
iteratee: ValueOnlyIteratee<T>,
a1: Array<T>
): (a2: Array<T>) => Array<T>;
Similar blocks of code found in 2 locations. Consider refactoring.
cloneWith<T, U>(
customizer: (value: T, key: number | string, object: T, stack: any) => U
): (value: T) => U;
Similar blocks of code found in 10 locations. Consider refactoring.
symmetricDifferenceWith<T>(
comparator: Comparator<T>,
a1: Array<T>
): (a2: Array<T>) => Array<T>;
Similar blocks of code found in 10 locations. Consider refactoring.
intersectionWith<T>(
comparator: Comparator<T>,
a1: Array<T>
): (a2: Array<T>) => Array<T>;
Similar blocks of code found in 10 locations. Consider refactoring.
xorWith<T>(
comparator: Comparator<T>,
a1: Array<T>
): (a2: Array<T>) => Array<T>;
Similar blocks of code found in 3 locations. Consider refactoring.
assoc(
path: Array<string> | string
): ((value: any) => (object: Object) => Object) &
((value: any, object: Object) => Object);
Similar blocks of code found in 2 locations. Consider refactoring.
cloneWith<T, U>(
value: T,
customizer?: ?(value: T, key: number | string, object: T, stack: any) => U
): U;
Similar blocks of code found in 2 locations. Consider refactoring.
differenceBy<T>(
array?: ?$ReadOnlyArray<T>,
values?: ?$ReadOnlyArray<T>,
iteratee?: ?ValueOnlyIteratee<T>
): T[];
Similar blocks of code found in 2 locations. Consider refactoring.
differenceWith<T>(array?: ?$ReadOnlyArray<T>, values?: ?$ReadOnlyArray<T>, comparator?: ?Comparator<T>): T[];
Similar blocks of code found in 2 locations. Consider refactoring.
cloneDeepWith<T, U>(
value: T,
customizer?: ?(value: T, key: number | string, object: T, stack: any) => U
): U;
Similar blocks of code found in 13 locations. Consider refactoring.
unionBy<T>(
iteratee: ValueOnlyIteratee<T>,
a1: Array<T>,
a2: Array<T>
): Array<T>;
Similar blocks of code found in 13 locations. Consider refactoring.
intersectionWith<T>(
comparator: Comparator<T>,
a1: Array<T>,
a2: Array<T>
): Array<T>;
Similar blocks of code found in 13 locations. Consider refactoring.
symmetricDifferenceBy<T>(
iteratee: ValueOnlyIteratee<T>,
a1: Array<T>,
a2: Array<T>
): Array<T>;
Similar blocks of code found in 13 locations. Consider refactoring.
xorWith<T>(comparator: Comparator<T>, a1: Array<T>, a2: Array<T>): Array<T>;
Similar blocks of code found in 13 locations. Consider refactoring.
xorBy<T>(
iteratee: ValueOnlyIteratee<T>,
a1: Array<T>,
a2: Array<T>
): Array<T>;
Similar blocks of code found in 13 locations. Consider refactoring.
symmetricDifferenceWith<T>(
comparator: Comparator<T>,
a1: Array<T>,
a2: Array<T>
): Array<T>;
Similar blocks of code found in 13 locations. Consider refactoring.
xorWith<T>(
a1: Array<T>,
a2: Array<T>,
comparator?: Comparator<T>
): Array<T>;
Similar blocks of code found in 13 locations. Consider refactoring.
unionWith<T>(
comparator: Comparator<T>,
a1: Array<T>,
a2: Array<T>
): Array<T>;
Similar blocks of code found in 13 locations. Consider refactoring.
intersectionBy<T>(
iteratee: ValueOnlyIteratee<T>,
a1: Array<T>,
a2: Array<T>
): Array<T>;
Similar blocks of code found in 13 locations. Consider refactoring.
zipWith<T>(
iteratee: Iteratee<T>,
a1: NestedArray<T>,
a2: NestedArray<T>
): Array<T>;
Similar blocks of code found in 2 locations. Consider refactoring.
cloneDeepWith<T, U>(
customizer: (value: T, key: number | string, object: T, stack: any) => U,
value: T
): U;
Similar blocks of code found in 13 locations. Consider refactoring.
unionWith<T>(
a1: Array<T>,
a2: Array<T>,
comparator?: Comparator<T>
): Array<T>;
Similar blocks of code found in 13 locations. Consider refactoring.
pullAllBy<T>(
iteratee: ValueOnlyIteratee<T>,
values: Array<T>,
array: Array<T>
): Array<T>;
Similar blocks of code found in 2 locations. Consider refactoring.
cloneWith<T, U>(
customizer: (value: T, key: number | string, object: T, stack: any) => U,
value: T
): U;
Similar blocks of code found in 13 locations. Consider refactoring.
xorBy<T>(
a1: Array<T>,
a2: Array<T>,
iteratee?: ValueOnlyIteratee<T>
): Array<T>;
Similar blocks of code found in 2 locations. Consider refactoring.
): ((
path: string[] | string
) => ((updater: Function) => (object: Object) => Object) &
((updater: Function, object: Object) => Object)) &
Similar blocks of code found in 2 locations. Consider refactoring.
differenceBy<T>(
iteratee: ValueOnlyIteratee<T>,
values: $ReadOnlyArray<T>
): (array: $ReadOnlyArray<T>) => T[];
Similar blocks of code found in 2 locations. Consider refactoring.
findKey<A, T: { [id: string]: A }>(
object: T,
predicate?: ?OPredicate<A, T>
): string | void;
Similar blocks of code found in 2 locations. Consider refactoring.
findLastKey<A, T: { [id: string]: A }>(
object: T,
predicate?: ?OPredicate<A, T>
): string | void;
Similar blocks of code found in 2 locations. Consider refactoring.
differenceWith<T>(
values: $ReadOnlyArray<T>,
comparator: Comparator<T>
): (array: $ReadOnlyArray<T>) => T[];
Similar blocks of code found in 2 locations. Consider refactoring.
update(
path: string[] | string
): ((updater: Function) => (object: Object) => Object) &
((updater: Function, object: Object) => Object);
Similar blocks of code found in 2 locations. Consider refactoring.
pickBy<A, T: { [id: string]: A }>(
object: T,
predicate?: ?OPredicate<A, T>
): Object;
Similar blocks of code found in 2 locations. Consider refactoring.
rangeStep(
step: number
): ((start: number) => (end: number) => Array<number>) &
((start: number, end: number) => Array<number>);
Similar blocks of code found in 2 locations. Consider refactoring.
omitBy<A, T: { [id: string]: A }>(
object: T,
predicate?: ?OPredicate<A, T>
): Object;
Similar blocks of code found in 2 locations. Consider refactoring.
rangeStepRight(
step: number
): ((start: number) => (end: number) => Array<number>) &
((start: number, end: number) => Array<number>);
Similar blocks of code found in 2 locations. Consider refactoring.
assignIn<A, B, C, D>(a: A, b: B, c: C, d: D): A & B & C & D;
Similar blocks of code found in 2 locations. Consider refactoring.
extend<A, B, C, D>(a: A, b: B, c: C, d: D): A & B & C & D;
Similar blocks of code found in 2 locations. Consider refactoring.
findKey<A, T: { [id: any]: A }>(
predicate: OPredicate<A>
): (object: T) => string | void;
Similar blocks of code found in 2 locations. Consider refactoring.
findLastKey<A, T: { [id: string]: A }>(
object: void | null,
predicate?: ?OPredicate<A, T>
): void;
Similar blocks of code found in 2 locations. Consider refactoring.
findKey<A, T: { [id: string]: A }>(
object: void | null,
predicate?: ?OPredicate<A, T>
): void;
Similar blocks of code found in 2 locations. Consider refactoring.
findLastKey<A, T: { [id: any]: A }>(
predicate: OPredicate<A>
): (object: T) => string | void;
Similar blocks of code found in 2 locations. Consider refactoring.
differenceWith<T>(values: $ReadOnlyArray<T>, comparator: Comparator<T>, array: $ReadOnlyArray<T>): T[];
Similar blocks of code found in 2 locations. Consider refactoring.
omitBy<A, T: { [id: any]: A }>(
predicate: OPredicate<A>
): (object: T) => Object;
Similar blocks of code found in 2 locations. Consider refactoring.
pickBy<A, T: { [id: any]: A }>(
predicate: OPredicate<A>
): (object: T) => Object;
Similar blocks of code found in 2 locations. Consider refactoring.
differenceBy<T>(
iteratee: ValueOnlyIteratee<T>,
values: $ReadOnlyArray<T>,
array: $ReadOnlyArray<T>
): T[];
Similar blocks of code found in 3 locations. Consider refactoring.
map<T, U>(array?: ?Array<T>, iteratee?: ?MapIterator<T, U>): Array<U>;
Similar blocks of code found in 3 locations. Consider refactoring.
flatMap<T, U>(
array?: ?$ReadOnlyArray<T>,
iteratee?: ?FlatMapIteratee<T, U>
): Array<U>;
Similar blocks of code found in 3 locations. Consider refactoring.
flatMapDeep<T, U>(
array?: ?$ReadOnlyArray<T>,
iteratee?: ?FlatMapIteratee<T, U>
): Array<U>;
Similar blocks of code found in 2 locations. Consider refactoring.
findLastKey<A, T: { [id: any]: A }>(
predicate: OPredicate<A>,
object: T
): string | void;
Similar blocks of code found in 2 locations. Consider refactoring.
findKey<A, T: { [id: any]: A }>(
predicate: OPredicate<A>,
object: T
): string | void;
Similar blocks of code found in 2 locations. Consider refactoring.
mixin<T: Function | Object>(
object: T,
source: Object,
options: { chain: boolean }
): T;
Similar blocks of code found in 2 locations. Consider refactoring.
mixin<T: Function | Object>(
object?: T,
source: Object,
options?: { chain: boolean }
): T;
Similar blocks of code found in 6 locations. Consider refactoring.
unionBy<T>(a1?: ?Array<T>, iteratee?: ?ValueOnlyIteratee<T>): Array<T>;
Similar blocks of code found in 6 locations. Consider refactoring.
intersectionBy<T>(a1?: ?Array<T>, iteratee?: ?ValueOnlyIteratee<T>): Array<T>;
Similar blocks of code found in 6 locations. Consider refactoring.
intersectionWith<T>(a1?: ?Array<T>, comparator?: ?Comparator<T>): Array<T>;
Similar blocks of code found in 6 locations. Consider refactoring.
xorBy<T>(a1?: ?Array<T>, iteratee?: ?ValueOnlyIteratee<T>): Array<T>;
Similar blocks of code found in 6 locations. Consider refactoring.
unionWith<T>(a1?: ?Array<T>, comparator?: ?Comparator<T>): Array<T>;
Similar blocks of code found in 6 locations. Consider refactoring.
xorWith<T>(a1?: ?Array<T>, comparator?: ?Comparator<T>): Array<T>;
Similar blocks of code found in 2 locations. Consider refactoring.
omitBy<A, T: { [id: any]: A }>(predicate: OPredicate<A>, object: T): Object;
Similar blocks of code found in 2 locations. Consider refactoring.
pickBy<A, T: { [id: any]: A }>(predicate: OPredicate<A>, object: T): Object;
Similar blocks of code found in 2 locations. Consider refactoring.
includes<T>(value: T): (collection: Array<T> | { [id: any]: T }) => boolean;
Similar blocks of code found in 2 locations. Consider refactoring.
contains<T>(value: T): (collection: Array<T> | { [id: any]: T }) => boolean;
Identical blocks of code found in 2 locations. Consider refactoring.
iteratees: | $ReadOnlyArray<Iteratee<T> | OIteratee<T>>
| Iteratee<T>
| OIteratee<T>,
Similar blocks of code found in 10 locations. Consider refactoring.
takeRightWhile<T>(array?: ?Array<T>, predicate?: ?Predicate<T>): Array<T>;
Similar blocks of code found in 10 locations. Consider refactoring.
difference<T>(array?: ?$ReadOnlyArray<T>, values?: ?$ReadOnlyArray<T>): Array<T>;
Similar blocks of code found in 10 locations. Consider refactoring.
dropRightWhile<T>(array?: ?Array<T>, predicate?: ?Predicate<T>): Array<T>;
Identical blocks of code found in 2 locations. Consider refactoring.
iteratees: | $ReadOnlyArray<Iteratee<T> | OIteratee<T>>
| Iteratee<T>
| OIteratee<T>
Similar blocks of code found in 10 locations. Consider refactoring.
uniqBy<T>(array?: ?Array<T>, iteratee?: ?ValueOnlyIteratee<T>): Array<T>;
Similar blocks of code found in 10 locations. Consider refactoring.
dropWhile<T>(array?: ?Array<T>, predicate?: ?Predicate<T>): Array<T>;
Similar blocks of code found in 10 locations. Consider refactoring.
remove<T>(array?: ?Array<T>, predicate?: ?Predicate<T>): Array<T>;
Similar blocks of code found in 10 locations. Consider refactoring.
unzipWith<T>(array: ?Array<T>, iteratee?: ?Iteratee<T>): Array<T>;
Similar blocks of code found in 10 locations. Consider refactoring.
takeWhile<T>(array?: ?Array<T>, predicate?: ?Predicate<T>): Array<T>;
Similar blocks of code found in 10 locations. Consider refactoring.
uniqWith<T>(array?: ?Array<T>, comparator?: ?Comparator<T>): Array<T>;
Similar blocks of code found in 10 locations. Consider refactoring.
filter<T>(array?: ?Array<T>, predicate?: ?Predicate<T>): Array<T>;
Similar blocks of code found in 2 locations. Consider refactoring.
flatten<T, X>(array: Array<Array<T> | X>): Array<T | X>;
Similar blocks of code found in 2 locations. Consider refactoring.
eachRight<T>(array: Array<T>, iteratee?: ?Iteratee<T>): Array<T>;
Similar blocks of code found in 2 locations. Consider refactoring.
unnest<T, X>(array: Array<Array<T> | X>): Array<T | X>;
Similar blocks of code found in 2 locations. Consider refactoring.
each<T>(array: Array<T>, iteratee?: ?Iteratee<T>): Array<T>;
Similar blocks of code found in 16 locations. Consider refactoring.
takeLastWhile<T>(predicate: Predicate<T>): (array: Array<T>) => Array<T>;
Similar blocks of code found in 16 locations. Consider refactoring.
unzipWith<T>(iteratee: Iteratee<T>): (array: Array<T>) => Array<T>;
Similar blocks of code found in 16 locations. Consider refactoring.
remove<T>(predicate: Predicate<T>): (array: Array<T>) => Array<T>;
Similar blocks of code found in 16 locations. Consider refactoring.
xor<T>(a1: Array<T>): (a2: Array<T>) => Array<T>;
Similar blocks of code found in 16 locations. Consider refactoring.
takeWhile<T>(predicate: Predicate<T>): (array: Array<T>) => Array<T>;
Similar blocks of code found in 16 locations. Consider refactoring.
uniqWith<T>(comparator: Comparator<T>): (array: Array<T>) => Array<T>;
Similar blocks of code found in 16 locations. Consider refactoring.
dropLastWhile<T>(predicate: Predicate<T>): (array: Array<T>) => Array<T>;
Similar blocks of code found in 16 locations. Consider refactoring.
dropRightWhile<T>(predicate: Predicate<T>): (array: Array<T>) => Array<T>;
Similar blocks of code found in 16 locations. Consider refactoring.
dropWhile<T>(predicate: Predicate<T>): (array: Array<T>) => Array<T>;
Similar blocks of code found in 16 locations. Consider refactoring.
uniqBy<T>(iteratee: ValueOnlyIteratee<T>): (array: Array<T>) => Array<T>;
Similar blocks of code found in 16 locations. Consider refactoring.
pullAll<T>(values: Array<T>): (array: Array<T>) => Array<T>;
Similar blocks of code found in 16 locations. Consider refactoring.
symmetricDifference<T>(a1: Array<T>): (a2: Array<T>) => Array<T>;
Similar blocks of code found in 16 locations. Consider refactoring.
union<T>(a1: Array<T>): (a2: Array<T>) => Array<T>;
Similar blocks of code found in 16 locations. Consider refactoring.
intersection<T>(a1: Array<T>): (a2: Array<T>) => Array<T>;
Similar blocks of code found in 16 locations. Consider refactoring.
takeRightWhile<T>(predicate: Predicate<T>): (array: Array<T>) => Array<T>;
Similar blocks of code found in 16 locations. Consider refactoring.
without<T>(values: Array<T>): (array: Array<T>) => Array<T>;
Similar blocks of code found in 2 locations. Consider refactoring.
omitBy<A, T: void | null>(
object: T,
predicate?: ?OPredicate<A, T>
): {};
Similar blocks of code found in 2 locations. Consider refactoring.
pickBy<A, T: void | null>(
object: T,
predicate?: ?OPredicate<A, T>
): {};
Identical blocks of code found in 3 locations. Consider refactoring.
customizer: (
objValue: any,
otherValue: any,
key: number | string,
object: T,
Identical blocks of code found in 3 locations. Consider refactoring.
customizer: (
objValue: any,
otherValue: any,
key: number | string,
object: T,
Similar blocks of code found in 3 locations. Consider refactoring.
forEach<T>(array: Array<T>, iteratee?: ?Iteratee<T>): Array<T>;
Similar blocks of code found in 3 locations. Consider refactoring.
forEachRight<T>(array: Array<T>, iteratee?: ?Iteratee<T>): Array<T>;
Identical blocks of code found in 3 locations. Consider refactoring.
customizer: (
objValue: any,
otherValue: any,
key: number | string,
object: T,
Similar blocks of code found in 3 locations. Consider refactoring.
pullAll<T>(array: Array<T>, values?: ?Array<T>): Array<T>;
Similar blocks of code found in 2 locations. Consider refactoring.
contains<T>(value: T, collection: Array<T> | { [id: any]: T }): boolean;
Similar blocks of code found in 2 locations. Consider refactoring.
sortedIndexBy<T>(
iteratee: ValueOnlyIteratee<T>,
value: T
): (array: Array<T>) => number;
Similar blocks of code found in 2 locations. Consider refactoring.
includes<T>(value: T, collection: Array<T> | { [id: any]: T }): boolean;
Similar blocks of code found in 2 locations. Consider refactoring.
sortedLastIndexBy<T>(
iteratee: ValueOnlyIteratee<T>,
value: T
): (array: Array<T>) => number;
Identical blocks of code found in 2 locations. Consider refactoring.
declare type CurriedFunction6<A, B, C, D, E, F, R> = __CurriedFunction6<
A,
B,
C,
D,
Identical blocks of code found in 2 locations. Consider refactoring.
declare type CurriedFunction6<A, B, C, D, E, F, R> = __CurriedFunction6<
A,
B,
C,
D,
Similar blocks of code found in 2 locations. Consider refactoring.
findLastIndex<T>(
array: $ReadOnlyArray<T>,
predicate?: ?Predicate<T>,
fromIndex?: ?number
): number;
Similar blocks of code found in 2 locations. Consider refactoring.
findIndex<T>(
array: $ReadOnlyArray<T>,
predicate?: ?Predicate<T>,
fromIndex?: ?number
): number;
Similar blocks of code found in 16 locations. Consider refactoring.
uniqBy<T>(iteratee: ValueOnlyIteratee<T>, array: Array<T>): Array<T>;
Similar blocks of code found in 3 locations. Consider refactoring.
getOr(
defaultValue: any,
path: Array<string> | string
): (object: Object | Array<any>) => any;
Similar blocks of code found in 16 locations. Consider refactoring.
dropLastWhile<T>(predicate: Predicate<T>, array: Array<T>): Array<T>;
Similar blocks of code found in 16 locations. Consider refactoring.
pullAll<T>(values: Array<T>, array: Array<T>): Array<T>;
Similar blocks of code found in 16 locations. Consider refactoring.
intersection<T>(a1: Array<T>, a2: Array<T>): Array<T>;
Similar blocks of code found in 16 locations. Consider refactoring.
union<T>(a1: Array<T>, a2: Array<T>): Array<T>;
Similar blocks of code found in 3 locations. Consider refactoring.
pathOr(
defaultValue: any,
path: Array<string> | string
): (object: Object | Array<any>) => any;
Similar blocks of code found in 16 locations. Consider refactoring.
dropRightWhile<T>(predicate: Predicate<T>, array: Array<T>): Array<T>;
Similar blocks of code found in 16 locations. Consider refactoring.
takeWhile<T>(predicate: Predicate<T>, array: Array<T>): Array<T>;
Similar blocks of code found in 16 locations. Consider refactoring.
symmetricDifference<T>(a1: Array<T>, a2: Array<T>): Array<T>;
Similar blocks of code found in 16 locations. Consider refactoring.
takeRightWhile<T>(predicate: Predicate<T>, array: Array<T>): Array<T>;
Similar blocks of code found in 16 locations. Consider refactoring.
without<T>(values: Array<T>, array: Array<T>): Array<T>;
Similar blocks of code found in 16 locations. Consider refactoring.
uniqWith<T>(comparator: Comparator<T>, array: Array<T>): Array<T>;
Similar blocks of code found in 16 locations. Consider refactoring.
xor<T>(a1: Array<T>, a2: Array<T>): Array<T>;
Similar blocks of code found in 3 locations. Consider refactoring.
propOr(
defaultValue: any,
path: Array<string> | string
): (object: Object | Array<any>) => any;
Similar blocks of code found in 16 locations. Consider refactoring.
dropWhile<T>(predicate: Predicate<T>, array: Array<T>): Array<T>;
Similar blocks of code found in 16 locations. Consider refactoring.
unzipWith<T>(iteratee: Iteratee<T>, array: Array<T>): Array<T>;
Similar blocks of code found in 16 locations. Consider refactoring.
remove<T>(predicate: Predicate<T>, array: Array<T>): Array<T>;
Similar blocks of code found in 16 locations. Consider refactoring.
takeLastWhile<T>(predicate: Predicate<T>, array: Array<T>): Array<T>;
Similar blocks of code found in 2 locations. Consider refactoring.
findLastIndexFrom<T>(
predicate: Predicate<T>,
fromIndex: number
): (array: $ReadOnlyArray<T>) => number;
Similar blocks of code found in 2 locations. Consider refactoring.
findIndexFrom<T>(
predicate: Predicate<T>,
fromIndex: number
): (array: $ReadOnlyArray<T>) => number;
Similar blocks of code found in 3 locations. Consider refactoring.
sortedLastIndexBy<T>(
iteratee: ValueOnlyIteratee<T>,
value: T,
array: Array<T>
): number;
Similar blocks of code found in 3 locations. Consider refactoring.
sortedIndexBy<T>(
iteratee: ValueOnlyIteratee<T>,
value: T,
array: Array<T>
): number;
Similar blocks of code found in 3 locations. Consider refactoring.
padCharsStart(
chars: string
): ((length: number) => (string: string) => string) &
((length: number, string: string) => string);
Similar blocks of code found in 3 locations. Consider refactoring.
sortedLastIndexBy<T>(
array: Array<T>,
value: T,
iteratee?: ValueOnlyIteratee<T>
): number;
Similar blocks of code found in 3 locations. Consider refactoring.
padChars(
chars: string
): ((length: number) => (string: string) => string) &
((length: number, string: string) => string);
Similar blocks of code found in 3 locations. Consider refactoring.
padCharsEnd(
chars: string
): ((length: number) => (string: string) => string) &
((length: number, string: string) => string);
Similar blocks of code found in 2 locations. Consider refactoring.
declare type ReadOnlyMapIterator<T, U> =
| ((item: T, index: number, array: $ReadOnlyArray<T>) => U)
| propertyIterateeShorthand;
Similar blocks of code found in 2 locations. Consider refactoring.
extend<A, B, C>(a: A, b: B, c: C): A & B & C;
Similar blocks of code found in 2 locations. Consider refactoring.
assignIn<A, B, C>(a: A, b: B, c: C): A & B & C;
Similar blocks of code found in 2 locations. Consider refactoring.
declare type MapIterator<T, U> =
| ((item: T, index: number, array: Array<T>) => U)
| propertyIterateeShorthand;
There are no issues that match your filters.