Checks if two ISet instances are structurally equal.
Two ISets are considered equal if they have the same size and contain
exactly the same elements. The order of elements does not matter for
equality comparison since sets are unordered collections. Elements are
compared using JavaScript's === operator.
Performance: O(n) where n is the size of the smaller set.
Checks if two ISet instances are structurally equal.
Two ISets are considered equal if they have the same size and contain exactly the same elements. The order of elements does not matter for equality comparison since sets are unordered collections. Elements are compared using JavaScript's
===
operator.Performance: O(n) where n is the size of the smaller set.