toggle menu
kord
0.16.0-SNAPSHOT
common
switch theme
search in API
kord-common
/
dev.kord.common.entity.optional
/
mapList
map
List
inline
fun
<
E
,
T
>
Optional
<
List
<
E
>
>
.
mapList
(
mapper
:
(
E
)
->
T
)
:
Optional
<
List
<
T
>
>
(
source
)
@
JvmName
(
name
=
"mapNullableList"
)
inline
fun
<
E
,
T
>
Optional
<
List
<
E
>
?
>
.
mapList
(
mapper
:
(
E
)
->
T
)
:
Optional
<
List
<
T
>
?
>
(
source
)