lawOne<T> static method

bool lawOne<T>(
  1. CustomSet<T> universal
)

Verifies the Law 0/1 for Universal Set Complement.

Law: U' = ∅

The complement of the universal set equals the empty set.

Implementation

static bool lawOne<T>(CustomSet<T> universal) =>
    SetOperations.complement(universal, universal).isEmpty;