or

infix inline fun <T> EitherBuilder<T>.or(branchInit: EitherBranchBuilder<T>.() -> Unit): EitherBuilder<T>

Adds a branch to the either construct. or can be used multiple times to get more than two branches, like so:

either {
// ...
} or {
// ...
} or {
// ...
}