asIterable

fun <T> Array<out T>.asIterable(): Iterable<T>(source)

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

Since Kotlin

1.0

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

Returns this collection as an Iterable.

Since Kotlin

1.0

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

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

Since Kotlin

1.0