Compares the cardinality of two sets; that is, compares the size of the two sets to see if they are equal.
|A| = |B|
O(1)
Set A of type <TElement> elements
<TElement>
Set B of type <TElement> elements
Whether |A| = |B| is true
// |{A, B, C}| = |{D, E, F}|areSetsEquivalent(new Set(['A', 'B', 'C']), new Set(['D', 'E', 'F'])); // true Copy
// |{A, B, C}| = |{D, E, F}|areSetsEquivalent(new Set(['A', 'B', 'C']), new Set(['D', 'E', 'F'])); // true
Generated using TypeDoc
Compares the cardinality of two sets; that is, compares the size of the two sets to see if they are equal.
|A| = |B|
O(1)
.