//arrow-core/arrow.core/Ior/fold
common inline fun <C> fold(fa: (A) -> C, fb: (B) -> C, fab: (A, B) -> C): C
Applies fa
if this is a Left, fb
if this is a Right or fab
if this is a Both
the results of applying the function
common
fa | the function to apply if this is a Left |
fb | the function to apply if this is a Right |
fab | the function to apply if this is a Both |
Do you like Arrow?
✖