does something like that exist ?
# arrow
s
does something like that exist ?
k
use
fold
?
i
🙂 I recommend to use docset. There you can search all available Functions in our API. https://github.com/i-walker/arrow-docset
s
I'd have to do mytry.fold( { error case }, { it })
i
Try.getOrElse should work as you suspect
s
oh it does exist yes
k
getOrDefault
,
getOrElse
,
orElse
all of them exists 🙂
s
cool
stupid intellij 🙂
stupid me
great help thanks guys
arrow 4