toggle menu
KSLCore
R1.1.3
jvm
switch theme
search in API
KSLCore
/
ksl.utilities
/
mapInPlace
map
In
Place
fun
<
T
>
Array
<
T
>
.
mapInPlace
(
transform
:
(
T
)
->
T
)
fun
IntArray
.
mapInPlace
(
transform
:
(
Int
)
->
Int
)
fun
DoubleArray
.
mapInPlace
(
transform
:
(
Double
)
->
Double
)
Applies the transformation to each element of the array in place