sdk-common / com.tomtom.online.sdk.common.func / FuncUtils / forEach

forEach

open static fun <T : Any!> forEach(@NonNull iterable: MutableIterable<T>, @NonNull fun: Block<T>): Unit

Iterate iterable and apply function on each item.

Parameters

iterable - MutableIterable<T>: Iterable

fun - Block<T>: Function which will be applied