children

public final Unit children<T extends KAdapterItem<?>>(Function1<T, Unit> function)

Performs given actions/assertion on all children in adapter

Parameters

T

Type of all items. Must be registered via constructor.

function

Tail lambda which receiver will be matched item with given type T