Arrow
1.1.5
arrow-optics
/
arrow.optics
/
Fold
/
findOrNull
find
Or
Null
open
fun
findOrNull
(
source
:
S
,
predicate
:
(
focus
:
A
)
->
Boolean
)
:
A
?
(
source
)
Find the first element matching the predicate, if one exists.