asIterable

fun <T> Array<out T>.asIterable(): Iterable<T> (source)
fun ByteArray.asIterable(): Iterable<Byte> (source)
fun ShortArray.asIterable(): Iterable<Short> (source)
fun IntArray.asIterable(): Iterable<Int> (source)
fun LongArray.asIterable(): Iterable<Long> (source)
fun FloatArray.asIterable(): Iterable<Float> (source)
fun DoubleArray.asIterable(): Iterable<Double> (source)
fun BooleanArray.asIterable(): Iterable<Boolean> (source)
fun CharArray.asIterable(): Iterable<Char> (source)

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

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

Returns this collection as an Iterable.

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

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