addBranch

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

Add a branch to this builder. The branch is first initialized through the branchInit argument.