true when both hold equal values of the same alternative.Either.opEquals
bool opEquals(this This, Rhs)(auto ref Rhs rhs)Compares two eithers for equality.
Two eithers are equal when the same alternative is active in both and the active payloads compare equal.
Parameters
rhs | either to compare with. |