arrow-core-data / arrow.core / kotlin.collections.Iterable / firstOrNone

firstOrNone

fun <T> Iterable<T>.firstOrNone(): Option<T> inline fun <T> Iterable<T>.firstOrNone(predicate: (T) -> Boolean): Option<T>

Do you like Arrow?

Arrow Org
<