Either.this

this(Pattern[] children...)

Constructs an Either pattern with the given alternatives.

Parameters

childrenThe alternative patterns.