https://kotlinlang.org logo
#arrow
Title
p

pakoito

07/03/2018, 11:48 PM
Let’s go through the possible cases. For this function:
Copy code
fun bla() {
  1.left().getOrElse { return 2 }
  3.right().getOrElse { return 4 }
}