sub

inline fun <T, I> RootInspector<List<T>>.sub(element: T, noinline idProvider: IdProvider<T, I>): SubInspector<List<T>, List<T>, T>
inline fun <R, P, T, I> SubInspector<R, P, List<T>>.sub(element: T, noinline idProvider: IdProvider<T, I>): SubInspector<R, List<T>, T>

creates a Inspector for an element in your Inspector's list.

Parameters

element

to get the Inspector for

idProvider

to get the id from an instance

inline fun <X> RootInspector<List<X>>.sub(index: Int): SubInspector<List<X>, List<X>, X>

creates a Inspector for an element in your Inspector's list.

Parameters

index

you need the Inspector for

inline fun <R, P, X> SubInspector<R, P, List<X>>.sub(index: Int): SubInspector<R, List<X>, X>

creates a Inspector for an element in your Inspector's list.

Parameters

index

of the element in your list you need the Inspector for