kotlin-stdlib
Common
kotlin-stdlib
/
kotlin.sequences
/
toCollection
to
Collection
fun
<
T
,
C
:
MutableCollection
<
in
T
>
>
Sequence
<
T
>
.
toCollection
(
destination
:
C
)
:
C
(
source
)
Appends all elements to the given
destination
collection.
The operation is
terminal
.