firstChild

public final Unit firstChild<T extends KRecyclerItem<?>>(Function1<T, Unit> function)

Performs given actions/assertion on first child in adapter

Parameters

T

Type of item at first position. Must be registered via constructor.

function

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