asIterable

fun <T> Sequence<T>.asIterable(): Iterable<T>

Creates an Iterable instance that wraps the original sequence returning its elements when being iterated.