invoke

public final Unit invoke(Function1<T, Unit> function)

Operator that allows usage of DSL style

Parameters

function

Tail lambda with receiver which is your view