toggle menu
common
1.4.2
common
switch theme
search in API
common
/
pro.respawn.kmmutils.common
/
mapNotNull
map
Not
Null
fun
<
T
,
R
>
List
<
T
>
.
mapNotNull
(
transform
:
(
prev
:
R
?
,
value
:
T
)
->
R
?
)
:
List
<
R
>
The same as a regular
mapNotNull
, but
transform
block contains the previous value of the list.