Documentation / @ripl/utilities / arrayDifference
Function: arrayDifference() ​
arrayDifference<
TLeft,TRight>(leftInput,rightInput,predicate?):TLeft[]
Defined in: collection.ts:160
Returns items from the left array that have no matching counterpart in the right array.
Type Parameters ​
| Type Parameter | Default type |
|---|---|
TLeft | - |
TRight | TLeft |
Parameters ​
| Parameter | Type |
|---|---|
leftInput | TLeft[] |
rightInput | TRight[] |
predicate? | ArrayJoinPredicate<TLeft, TRight> |
Returns ​
TLeft[]