nullUnion<T> static method

bool nullUnion<T>(
  1. CustomSet<T> a,
  2. CustomSet<T> universal
)

Verifies the Null/Domination Law for Union.

Law: A ∪ U = U

The union of any set with the universal set equals the universal set.

Implementation

static bool nullUnion<T>(CustomSet<T> a, CustomSet<T> universal) =>
    SetOperations.union(a, universal).equals(universal);