ListKt<T> extension

on

Properties

lastIndex int

Available on Iterable<T>, provided by the ListKt extension

Last index of list
no setter

Methods

count(bool func(T e)) int

Available on Iterable<T>, provided by the ListKt extension

Return count of the given item
forEachIndexed(void action(int index, T element)) → void

Available on Iterable<T>, provided by the ListKt extension

forEach with index
random() → T

Available on Iterable<T>, provided by the ListKt extension

Return random object