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

gabrielfv

10/22/2018, 2:55 PM
I read the documentation and found a seemingly better solution,
Right(report).leftIfNull { NoDataException("No report found") }
. Simple and easy to understand.
arrow 6