Root Inspector
RootInspector is the starting point for getting your data and corresponding paths from your deep nested model structure. Get this by calling the factory method inspectorOf.
Inspector is useful in validation process to know which model attribute is not valid.
Constructors
Functions
Properties
Extensions
Link copied to clipboard
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 <X> RootInspector<List<X>>.inspectEach(action: (SubInspector<List<X>, List<X>, X>) -> Unit)
Content copied to clipboard
Performs the given action on each SubInspector.