Class: SetUtils ​
Defined in: packages/common/src/utils/set.ts:6
Utility class for set operations.
Name ​
SetUtils SetUtils
Constructors ​
Constructor ​
new SetUtils():
SetUtils
Returns ​
SetUtils
Methods ​
difference() ​
staticdifference<T>(left,right):Set<T>
Defined in: packages/common/src/utils/set.ts:13
Compute the set difference without mutating the inputs.
Type Parameters ​
T ​
T
Parameters ​
left ​
Set<T>
The left set.
right ​
Set<T>
The right set.
Returns ​
Set<T>
A new set containing elements in left that are not in right.