kotlin-stdlib / kotlin.sequences / toList toList Common JVM JS Native 1.0 fun <T> Sequence<T>.toList(): List<T>(source) Returns a List containing all elements. The operation is terminal.