BotCommands
Toggle table of contents
3.0.0-beta.3
jvm
Platform filter
jvm
Switch theme
Search in API
BotCommands
BotCommands-core
/
io.github.freya022.botcommands.api.core.utils
/
mapToArray
map
To
Array
inline
fun
<
T
,
R
>
Collection
<
T
>
.
mapToArray
(
transform
:
(
T
)
->
R
)
:
Array
<
R
>
(
source
)
inline
fun
<
T
,
R
>
Array
<
T
>
.
mapToArray
(
transform
:
(
T
)
->
R
)
:
Array
<
R
>
(
source
)