arrow-core-data / arrow.core / Option / fold

fold

inline fun <R> fold(ifEmpty: () -> R, ifSome: (A) -> R): R

Do you like Arrow?

Arrow Org
<