Either.isLeft

bool isLeft() const @safe pure nothrow @nogc

Reports whether the left alternative is active.

Returns

true when this either holds an L, including the

default-constructed state. Payload contents are never inspected.