inspectEach

fun <D, I> Inspector<List<D>>.inspectEach(idProvider: IdProvider<D, I>, action: (Inspector<D>) -> Unit)

Performs the given action on each Inspector.

Parameters

idProvider

to get the id from an instance

action

function which gets applied to all Inspectors


fun <D> Inspector<List<D>>.inspectEach(action: (Inspector<D>) -> Unit)
fun <K, V> Inspector<Map<K, V>>.inspectEach(action: (K, Inspector<V>) -> Unit)

Performs the given action on each Inspector.

Parameters

action

function which gets applied to all Inspectors