kotlin.collections.asIterable

asIterable

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

Returns this collection as an Iterable.

inline fun <K, V> Map<out K, V>.asIterable(): Iterable<Entry<K, V>>

Creates an Iterable instance that wraps the original map returning its entries when being iterated.