inspect Each
inline fun <T, I> RootInspector<List<T>>.inspectEach(noinline idProvider: IdProvider<T, I>, action: (SubInspector<List<T>, List<T>, T>) -> Unit)
Content copied to clipboard
inline fun <R, P, T, I> SubInspector<R, P, List<T>>.inspectEach(noinline idProvider: IdProvider<T, I>, action: (SubInspector<R, List<T>, T>) -> Unit)
Content copied to clipboard
Performs the given action on each SubInspector.
Parameters
id Provider
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)
Content copied to clipboard
inline fun <R, P, X> SubInspector<R, P, List<X>>.inspectEach(action: (SubInspector<R, List<X>, X>) -> Unit)
Content copied to clipboard
Performs the given action on each SubInspector.
Parameters
action
function which gets applied to all SubInspectors