inspectEach

inline fun <T, I> RootInspector<List<T>>.inspectEach(noinline idProvider: IdProvider<T, I>, action: (SubInspector<List<T>, List<T>, T>) -> Unit)
inline fun <R, P, T, I> SubInspector<R, P, List<T>>.inspectEach(noinline idProvider: IdProvider<T, I>, action: (SubInspector<R, List<T>, T>) -> Unit)

Performs the given action on each SubInspector.

Parameters

idProvider

to get the id from an instance

action

function which gets applied to all SubInspectors


inline fun <X> RootInspector<List<X>>.inspectEach(action: (SubInspector<List<X>, List<X>, X>) -> Unit)
inline fun <R, P, X> SubInspector<R, P, List<X>>.inspectEach(action: (SubInspector<R, List<X>, X>) -> Unit)

Performs the given action on each SubInspector.

Parameters

action

function which gets applied to all SubInspectors