toggle menu
kord
0.16.0-SNAPSHOT
common
switch theme
search in API
kord-common
/
dev.kord.common.entity.optional
/
firstOrNull
first
Or
Null
inline
fun
<
E
>
Optional
<
List
<
E
>
>
.
firstOrNull
(
predicate
:
(
E
)
->
Boolean
)
:
E
?
(
source
)