mapNotNullTo
inline
fun
<
R
:
Any
,
C
:
MutableCollection
<
in
R
>
>
CharSequence
.
mapNotNullTo
(
destination
:
C
,
transform
:
(
Char
)
->
R
?
)
:
C
(source)
Applies the given transform function to each character in the original char sequence and appends only the non-null results to the given destination .