pullAllWith < T > ( array : T [] , values ?: List < T > , comparator ?: Comparator < T > ) : T [] Parameters array : T [] Optional
values : List < T > Optional
comparator : Comparator < T > Returns T [] Returns array
.
Defined in work/takaro/takaro/node_modules/@types/lodash/common/array.d.ts:1052 pullAllWith < T > ( array : List < T > , values ?: List < T > , comparator ?: Comparator < T > , ) : List < T > Parameters array : List < T > Optional
values : List < T > Optional
comparator : Comparator < T > Returns List < T > Defined in work/takaro/takaro/node_modules/@types/lodash/common/array.d.ts:1056 pullAllWith < T1 , T2 > ( array : T1 [] , values : List < T2 > , comparator : Comparator2 < T1 , T2 > , ) : T1 [] Parameters array : T1 [] values : List < T2 > comparator : Comparator2 < T1 , T2 > Returns T1 [] Defined in work/takaro/takaro/node_modules/@types/lodash/common/array.d.ts:1060 pullAllWith < T1 , T2 > ( array : List < T1 > , values : List < T2 > , comparator : Comparator2 < T1 , T2 > , ) : List < T1 > Parameters array : List < T1 > values : List < T2 > comparator : Comparator2 < T1 , T2 > Returns List < T1 > Defined in work/takaro/takaro/node_modules/@types/lodash/common/array.d.ts:1064
This method is like
_.pullAll
except that it acceptscomparator
which is invoked to compare elements of array to values. The comparator is invoked with two arguments: (arrVal, othVal).Note: Unlike
_.differenceWith
, this method mutatesarray
.