noob question, I’m sure: ```fun doThing(...): Eit...
# arrow
l
noob question, I’m sure:
Copy code
fun doThing(...): Either<String, Boolean> { ... }

when (val result = doThing(...)) {
  is Either.Left -> do error stuff
  is Either.Right -> Do different thing depending on if the bool was true or false.
}
How do I get at the value stored in the Right?