$KotlinCollection<E> extension

on

Properties

lastIndex int

Available on Iterable<E>, provided by the $KotlinCollection extension

no setter

Methods

elementAtOr(int index, [E? defaultValue]) → E?

Available on Iterable<E>, provided by the $KotlinCollection extension

firstOr([E? defaultValue]) → E?

Available on Iterable<E>, provided by the $KotlinCollection extension

indexes() Iterable<int>

Available on Iterable<E>, provided by the $KotlinCollection extension

lastOr([E? defaultValue]) → E?

Available on Iterable<E>, provided by the $KotlinCollection extension

mapIsLast<T>(T f(E e, bool isLast)) Iterable<T>

Available on Iterable<E>, provided by the $KotlinCollection extension

whereNot(bool test(E element)) Iterable<E>

Available on Iterable<E>, provided by the $KotlinCollection extension

withIndex() Iterable<IndexedValue<E>>

Available on Iterable<E>, provided by the $KotlinCollection extension